Cookies aren't created for large tables
Cookies aren't created for large tables
fil
Posts: 2Questions: 0Answers: 0
http://sorseg.dyndns.org/test/test.html
I have two tables on this page.
If I execute
[code]dt=$('.searchresult').dataTable({'bStateSave':true});[/code]
then cookie is created.
Then I delete this cookie and create dataTable for larger table:
[code]dt=$('.searchresult2').dataTable({'bStateSave':true});[/code]
The cookie is not created and state is not saved.
I tried in chrome and firefox
I have two tables on this page.
If I execute
[code]dt=$('.searchresult').dataTable({'bStateSave':true});[/code]
then cookie is created.
Then I delete this cookie and create dataTable for larger table:
[code]dt=$('.searchresult2').dataTable({'bStateSave':true});[/code]
The cookie is not created and state is not saved.
I tried in chrome and firefox
This discussion has been closed.
Replies
I'd suggest you use localStorage (which will be the default in 1.10): http://datatables.net/blog/localStorage_for_state_saving
Allan