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

Sort datatables rows by it's json values

$
0
0

Hi!
I'm sorting my datatable by individual buttons (ascending/desceding) and I want to sort it by row data unused in table.

Every button click, I'm getting whole table data, sorting it and reinitialising whole table and it's working perfectly, but after reinitialise I'm losing all previous table filters/selected rows etc which is really annoying.

So my goal is to sort table by nested row data using these buttons WITHOUT destroying/initialising datatable.

Is there any other way to make it "on the fly"?

There is my code with reinitialising: http://live.datatables.net/vufuwali/1/edit?html,js,output


Viewing all articles
Browse latest Browse all 81799

Trending Articles



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