bStateSave is not saving state

bStateSave is not saving state

tdvoraktdvorak Posts: 1Questions: 0Answers: 0
edited December 2010 in General
Allan,

Actually, it's more accurate to say it is saving the state MOST of the time, but sometimes it doesn't.

I'm doing Sorting and Filtering (no paging).
Between page reloads it may save the state 5 times then lose it on the 6 time, and them come back on the 7th time.

NOTE: all sorting and filtering works fine while i'm in the page.

I'm using Datatable 1.6.2 and jQuery 1.3.2 and jquery-ui 1.7.2.

I'm getting this behavior in IE 8 & Firfox 3.6.

Will upgrading to Datatables and jQuery fix this issue???
Is there a correct combination of JS files which will work for sure??
I noticed the jQuery.js file you ship in your download includes Sizzle.js???? Do I need this?

When I say i'm reloading the page, i have a popup which changes the data in a row, then it calls a Struts Action to apply the changes, which then closes the popup, and reloads the page from the Form in the session.

Here is my table:
jQuery('#priceSheetTableId').dataTable( {
"aaSorting": [[4,'asc'], [5,'asc'], [12,'asc'], [13,'asc'], [10,'asc']],
"bJQueryUI": true,
"bAutoWidth": false,
"bFilter": true,
"bInfo": true,
"bPaginate": false,
"bSort": true,
"bStateSave": true,
"aoColumns": [
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": false },
{ "bSortable": true, "sType": "natural" },
{ "bSortable": true, "sType": "natural" },
{ "bSortable": true, "sType": "natural", "sWidth": "45px" },
{ "bSortable": true, "sType": "natural" },
{ "bSortable": true, "sType": "natural", "bSearchable": true, "bVisible": true },
{ "bSortable": true, "sType": "natural" },
{ "bSortable": true, "sType": "natural" },
{ "bSortable": true, "sType": "natural" },
{ "bSortable": true, "sType": "natural" },
{ "bSortable": true, "sType": "natural" }
]
} );
This discussion has been closed.