Datatable
Datatable copied to clipboard
Order on multiple columns
Does this wrapper support ordering by multiple columns? Cause i have a feeling that no. And if yes, do i need to add smth on serverside?
I have this code that must sort by default on two columns in the same time on frontend "order": [ [2, 'asc'], [1, 'asc'] ],
the master branch should support ordering on multiple columns, see this PR for infos: https://github.com/Chumper/Datatable/pull/109
I saw this - but those commit adds support for front-end ordering - but in backend i see that order columns sliced only to first one by function handleiSortCol_0. What about order columns like iSortCol_1, iSortCol_2 ?
They are currently not supported. However it should be an easy task to implement it for multiple columns.
I'd love this feature. Is there any update or workaround about this?
No, atm not, i havent had time to implement this. I cant promise anything but i will lokk into it right now