DT Fails with SaveState off

DT Fails with SaveState off

IskaIska Posts: 1Questions: 0Answers: 0
edited May 2011 in Bug reports
Hi everyone,

I just bumped into this problem I can't solve that easily;
When I disable bSaveState in the following code, DT won't initialize (it does with bStateSave on):
[code]
$(document).ready(function() {
$('#datatable').dataTable( {
"aoColumns": [

{ "bSearchable": true ,
"bSortable": true ,
"bVisible": true }
,

{ "bSearchable": true ,
"bSortable": true ,
"bVisible": true }
,

{ "bSearchable": true ,
"bSortable": true ,
"bVisible": true }
,

{ "bSearchable": false ,
"bSortable": true ,
"bVisible": true }


,{ "bSortable": false,
"sWidth": "150px"}

],

"bFilter" : true, "bPaginate" : false, "bStateSave" : false, "bSort" : true,
"aaSorting": [3,'asc'], "sScrollY" : "370px"
} );
});
[/code]
Code is a little messy because I generated it with PHP, sorry for that.
>> Error in FF console: "k is undefined".

Hope someone can help me with this...

Replies

  • allanallan Posts: 61,716Questions: 1Answers: 10,108 Site admin
    Can you give us a link to the page which is failing please? Also the line number for where the error is occurring (Firebug should give you that) for the unminified version of DataTables would be useful.

    Allan
This discussion has been closed.