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

How to find out what column the user sorted on...

$
0
0
I understand that I can capture the sort event as described here: http://datatables.net/forums/discussion/2976/sort-callback/p1

I am trying to capture this event, find out what the user sorted on and save it in a cookie. I know I can use bStateSave for saving the state automatically but I can't use it as iDeferLoading is not supported along with it (http://datatables.net/forums/discussion/comment/41588) . I'd like to manually save cookie when sort happens and specify its value in aaSorting when the page is loaded.

I'll appreciate help with this.

Viewing all articles
Browse latest Browse all 82040

Trending Articles



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