serverside sorting

serverside sorting

ajaymsajayms Posts: 2Questions: 1Answers: 0

While sorting, the order parameter is missing in every third request.

Note : this happens while trying to sort the same column again and again

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,262Questions: 1Answers: 10,423 Site admin
    Answer ✓

    That is 100% intentional. The third state is "unsorted". If you don't want that add:

    DataTable.defaults.column.orderSequence = ['asc', 'desc'];
    

    to remove the third state from the default.

    See columns.orderSequence for more details.

    Allan

  • ajaymsajayms Posts: 2Questions: 1Answers: 0

    @allan Thank you so much for taking the time to assist me.

Sign In or Register to comment.