How can I add one more column for sorting in case of same data?
How can I add one more column for sorting in case of same data?
shubhi03
Posts: 4Questions: 3Answers: 0
Hi, I have a datatable with five columns. And I am sorting that table by column 3. My query is that if two rows having the same data for column 3, then I want to sort those rows by column 2. Can we achieve this ?
This discussion has been closed.
Answers
do you mean multi colum ordering ?
https://datatables.net/examples/basic_init/multi_col_sort.html