Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82017

Reload From Cookies

$
0
0
I just realized today that fnStateLoadCallback is no more. This explains the bug that my program is experiencing when reloading cookies.

I'm using code snippets from this example in my production environment:
http://datatables.net/forums/discussion/6071/solved-individual-column-filters-not-being-restored-with-bstatesave/p1
Specifically, the last post before it was closed. I did some searching and came across this: http://datatables.net/blog/localStorage_for_state_saving

So, I changed all my fnStateLoadCallback to fnStateLoad and now it hates me...

As long as a filter has been changed, restore filters works as expected. however, if you change filters and refresh. Then DONT change filters and refresh it loses the filters. This is probably something simple. If my code were identical to the one linked prior (as far s the reloaded cookie stuff) what would I change to make it work with 1.9?

Thanks for the help again :-)

Bil

Viewing all articles
Browse latest Browse all 82017

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>