How to set sorting priority in datatable columns ?
How to set sorting priority in datatable columns ?
Dibyadeep_Mukherjee
Posts: 6Questions: 4Answers: 0
Hello Team,
I have a question, which does not need much explanation. I have a table with 3 columns say Start_Date ,End_Date and Order_Number.
By default my table rows are sorted with End_Date (Desc) . Now what i want is if for multiple rows the End_Date is same, it must order the rows on basis of Order_Number desc.
Is it possible with datatable?
Thanks in advance.
Thanks & Regards
Dibyadeep.
This discussion has been closed.
Answers
Yes, DataTables supports multi-column sorting. Use
columns.orderData
to do this.Allan