Remove default sorting of first column
Remove default sorting of first column
Afroz Ali
Posts: 5Questions: 3Answers: 0
Hi guys,
I want to know how to remove default sorting(ordering) of first column for dataTable. Thanks in advance.
Thanks,
Ali
This discussion has been closed.
Answers
Have you tried to set https://datatables.net/reference/option/columns.orderable to false? Else you can try to change the initial sorting of the table using https://datatables.net/reference/option/order
Yep. as @islamelshobokshy ,
order
is the way to go, look at the first example on that page, it'll sort you out.Cheers,
Colin
Thank you guys for your valuable response.