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

LeeALeeA Posts: 6Questions: 1Answers: 0
edited October 2011 in Bug reports
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.

Replies

  • LeeALeeA Posts: 6Questions: 1Answers: 0
    I wantedt to add that I just noticed that the error triggers when I am near the bottom of the vertical scoll area.
This discussion has been closed.