DataTables w/ Bootstrap integration - pagination makes for a disappearing table
DataTables w/ Bootstrap integration - pagination makes for a disappearing table
guruevi
Posts: 3Questions: 1Answers: 0
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]
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]
This discussion has been closed.
Replies