How to set sorting priority in datatable columns ?
How to set sorting priority in datatable columns ?
![Dibyadeep_Mukherjee](https://secure.gravatar.com/avatar/98a7a0f56f7a60f685e5cf49e063c61b/?default=https%3A%2F%2Fvanillicon.com%2F98a7a0f56f7a60f685e5cf49e063c61b_200.png&rating=g&size=120)
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