How to disable sort table on click?
How to disable sort table on click?
Lucaslopez12
Posts: 14Questions: 6Answers: 0
in DataTables
I would like to know if it is possible to disable that when clicking on the th nothing happens in the table nor is it ordered
This question has an accepted answers - jump to answer
Answers
Use
columns.orderable
to disable sorting.Kevin
How to add 2 columns in orderable: false, targets: 0 } ?
I try { orderable: false, targets: 0, 1 } but dont work
Checkout the
columnDefs.targets
docs.Kevin