Error message "'nTr' is null or not an object" when using Scroller plug-in
Error message "'nTr' is null or not an object" when using Scroller plug-in
LeeA
Posts: 6Questions: 1Answers: 0
I need to save the vertical scroll position for my table so I am using the scoller plug-in. When my page loads, I don't get any errors, but once I start to scroll without doing anything else, I get "'nTr' is null or not an object" at line 3243 character 6.
Here is what I have for my initialization:
$('#reqtable').dataTable({
"sScrollY": "360px",
"bScrollCollapse": true,
"bPaginate": false,
"bFilter": false,
"bInfo": true,
"bJQueryUI": true,
"bAutoWidth": false,
"oLanguage": {
"sEmptyTable": " "
},
"aoColumnDefs": [
{ "sWidth": "13%", "aTargets": [0] },
{ "sWidth": "19%", "aTargets": [1] },
{ "sWidth": "25%", "aTargets": [3] }
],
"sDom": "tiS",
"bStateSave": true
});
I don't get the error when I comment out "sDom".
I'm using the latest version of Datatables and using IE7/8.
Here is what I have for my initialization:
$('#reqtable').dataTable({
"sScrollY": "360px",
"bScrollCollapse": true,
"bPaginate": false,
"bFilter": false,
"bInfo": true,
"bJQueryUI": true,
"bAutoWidth": false,
"oLanguage": {
"sEmptyTable": " "
},
"aoColumnDefs": [
{ "sWidth": "13%", "aTargets": [0] },
{ "sWidth": "19%", "aTargets": [1] },
{ "sWidth": "25%", "aTargets": [3] }
],
"sDom": "tiS",
"bStateSave": true
});
I don't get the error when I comment out "sDom".
I'm using the latest version of Datatables and using IE7/8.
This discussion has been closed.
Replies