Sort column: It must not be possible to disable the sort

Sort column: It must not be possible to disable the sort

RaffaCubeRaffaCube Posts: 3Questions: 2Answers: 0

Hi, columns have three states: "Desc", "Asc" and "No Sort".
I wish "No sort" couldn't be done.

Is possible?

This question has an accepted answers - jump to answer

Answers

  • RichardD2RichardD2 Posts: 7Questions: 2Answers: 1
    Answer ✓

    Have a look at the v2 release notes:

    if you wish to restore the default DataTables 1.x behaviour you can do so by setting the default:

    DataTable.defaults.column.orderSequence = ['asc', 'desc'];
    
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    I think I'll add this to the FAQs. It has come up a few times.

    Allan

Sign In or Register to comment.