1

I am using jquery datatable, I want avoid a column while sorting other columns, that is that column should remain static.

user3189828
  • 185
  • 1
  • 4
  • 16

1 Answers1

0

Use "orderFixed". Read https://datatables.net/reference/option/orderFixed

"orderFixed": [ column index, sort ];

$('#tbl').DataTable({
                "orderFixed": [ 0, 'asc' ]
          });
rmondesilva
  • 1,732
  • 3
  • 17
  • 29