Sort table data by tr id
Sort table data by tr id

Hey all,
Is it possible to sort the table rows by their id?
this is the jsfiddle link
https://jsfiddle.net/davseveloff/dysottkb/
thank you!
This discussion has been closed.
Hey all,
Is it possible to sort the table rows by their id?
this is the jsfiddle link
https://jsfiddle.net/davseveloff/dysottkb/
thank you!
Answers
i would suggest instead to add that to a column, either beginning or end, and hide the column. You can sort on this column with your initial DT config, but the user can override it afterwards by sorting on a column.
If you utilize ColViz, you can do what I mentioned above and the user would have the ability to show this "ID" column and sort on it whenever they need to.