ColReorder fails with theme roller
ColReorder fails with theme roller
I am using the html table from the samples here: If I add theme roller support ""bJQueryUI": true" then ColReorder throws an error "'aoColumns[...].bVisible' is null or not an object" (in IE but not Chrome)
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
$(document).ready(function () {
o2Table = $('#example').dataTable({
"sPaginationType": "full_numbers"
,"aoColumns": [ { "bSortable": false }, null, null, null, null]
, "sDom": 'C<"clear">lfrtip'
, "bJQueryUI": true
, "oColVis": { "buttonText": "Customize columns"}
, "sDom": 'Rlfrtip'
});
});
Rendering engine
... SNIP ...
CSS grade
[/code]
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
$(document).ready(function () {
o2Table = $('#example').dataTable({
"sPaginationType": "full_numbers"
,"aoColumns": [ { "bSortable": false }, null, null, null, null]
, "sDom": 'C<"clear">lfrtip'
, "bJQueryUI": true
, "oColVis": { "buttonText": "Customize columns"}
, "sDom": 'Rlfrtip'
});
});
Rendering engine
... SNIP ...
CSS grade
[/code]
This discussion has been closed.
Replies
Allan