DataTables w/ Bootstrap integration - pagination makes for a disappearing table

DataTables w/ Bootstrap integration - pagination makes for a disappearing table

gurueviguruevi Posts: 3Questions: 1Answers: 0
edited July 2013 in DataTables 1.9
When enabling the Bootstrap integration for DataTables and enable pagination with the bootstrap plugin the table simply is removed from the DOM.

Firefox debugger:
[13:39:32.359] undefined entity:1
[13:39:32.359] SyntaxError: An invalid or illegal string was specified @ https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js:5

DT_bootstrap.js, jQuery.dataTables and the CSS is all latest version. I've tried disabling various plugins down to the bare bones but it seems to be an issue specifically when the pagination is enabled. I've gone back and forth up the jQuery version tree.

The examples work great which I think may mean either an issue with XHTML or HTML5 specifically

See here for example: https://rcbi.rochester.edu/AdManager/test.xhtml

[code]
/* Table initialisation */
$(document).ready(function() {
$('#dataTable').dataTable( {
"sDom": "<'row'<'span5'l><'span5'f>r>t<'row'<'span5'i><'span5'p>>"
} );
} );
[/code]

Replies

  • gurueviguruevi Posts: 3Questions: 1Answers: 0
    It's indeed a problem with using XHTML or XHTML5, using HTML5 straight (using PHP's saveHTML instead of saveXML) fixes the problem. However there seems to be a bug somewhere or maybe something missing in the documentation?
This discussion has been closed.