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

How to tell if a column is being sorted?

$
0
0
I'm using a combination of server-side processing and jeditable. I'd like to make it so it only gets the ajax data after an edit if the column they are editing is being sorted. My thinking is there is no reason for the extra load (and losing the user's place on the scroll as a result) unless the change will ultimately affect the sorting. How would I go about doing this? Let me know if this doesn't make sense, or if there's a better way to go about doing this.

EDIT: I think I found what I'm after here: http://datatables.net/forums/discussion/11390/how-to-get-values-of-the-current-sort-column-index-and-direction-from-aodata/p1

Viewing all articles
Browse latest Browse all 82017

Trending Articles



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