bStateSave won't work

bStateSave won't work

x_fx_f Posts: 4Questions: 0Answers: 0
edited September 2012 in DataTables 1.9
Hi,

data tables works great, but i have a strange problem with sorting:
(I tried a lot of the other bStateSave threads, but no solution worked)

Situation:
2 Tables, both with datatable
First table - 43 columns ~150 rows - No cookie for Save (missing)
Second table - 3 columns >500 rows - Cookie exists for Save
Datatables are in a frameset (Backend TYPO3)

Code:
[code]$(document).ready(function() {
$('#sites').dataTable({
'aaSorting':[[2,'asc']],
'sPaginationType': 'full_numbers',
'iDisplayLength': 10,
'iCookieDuration':86400,
'bStateSave': true,
'aLengthMenu': [[5, 10, 15, 25, 50, 100, -1], [5, 10, 15, 25, 50, 100, 'All']]
});
$('#rules').dataTable({
'aaSorting':[[0,'desc']],
'sPaginationType': 'full_numbers',
'iDisplayLength': 5,
'iCookieDuration':86400,
'bStateSave': true,
'aLengthMenu': [[5, 10, 15, 25, 50, 100, -1], [5, 10, 15, 25, 50, 100, 'All']]
});
$('.flowhelper table').wrap(''); // was bets way to scroll and everything else works...
$('table tbody tr').live('click', function () {
$(this).toggleClass('row_selected'); // Simple effect, no save needed
});
});[/code]

Tests:
- First table never worked
- If first table is enabled and i search something in second table it will be written into the cookie, by a reload it is gone, back to default cookie
- If I disable the first table the second works fine with saving the information's
- Update version to newest (or nightly), no change of the behavior - also tested jQuery 1.8.1 and 1.7.x
- Removed all other options like type and sorting .... won't help...


Debugger:
- Debugger nearly crashes my browser (FF nightly) and a warning about https to http
- Bookmark %20 (FF and Chromium) replaced with spaces and it worked, maybe put the line on site ;)
http://debug.datatables.net/inutaj

I hope somebody can help :)

thx
This discussion has been closed.