how refresh ordering after short

how refresh ordering after short

aleshaalesha Posts: 4Questions: 2Answers: 0

I have a problem when datatable after clicking the order, how the data is displayed again as before

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,309Questions: 26Answers: 4,770
    Answer ✓

    Not sure I understand. Are you saying that when you try sorting the table the order doesn't change?

    Are you using server side processing? If so sorting is expected to be performed by the server script.

    We will need more information to help debug. Please post a link to your page or a test case replicating the issue. This way we can see what is happening and offer suggestions to fix.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

  • aleshaalesha Posts: 4Questions: 2Answers: 0

    I want to restore default sort according to the server script

  • aleshaalesha Posts: 4Questions: 2Answers: 0

    order[0][column] = 6
    order[0][dir] = desc
    the point is I want to remove the parameter

  • colincolin Posts: 15,144Questions: 1Answers: 2,586
    edited July 2019

    @alesha : it looks like you've asked the same question again here. please only post questions once.

This discussion has been closed.