disable the auto sort if we update the sorting column

disable the auto sort if we update the sorting column

deccadecca Posts: 7Questions: 2Answers: 0

Hi
How to disable the auto-sort if we update the sorting column.
thanks

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,452Questions: 1Answers: 10,055 Site admin

    I'm not really sure what you mean I'm afraid. If you sort the column, you don't want it to redraw?

    Allan

  • deccadecca Posts: 7Questions: 2Answers: 0

    Hi Allan,

    I mean I have a table I sort by a clone and when I update this column of a row it disappear to the bottom because It sort the value so it s a big problem when you want to make sure of what you updated.

    thanks

  • allanallan Posts: 61,452Questions: 1Answers: 10,055 Site admin

    Can you give me a link to the page showing the issue please?

    Are you using Editor here?

    Allan

  • deccadecca Posts: 7Questions: 2Answers: 0

    Hi Allan,

    Please take the exemple here https://editor.datatables.net/examples/inline-editing/simple.html

    sort by name you will have Airi Satou at the top change it to ZZAiri Satou it will go to the bottom and I want to disable this as ZZAiri Satou still in the top until I clic sort again because I want to see all the change I maked

    thanks

  • allanallan Posts: 61,452Questions: 1Answers: 10,055 Site admin
    Answer ✓

    Ah I see - thanks for the clarification. You can use the drawType option of the form-options object to disable the resort. Set it to be none.

    Allan

  • deccadecca Posts: 7Questions: 2Answers: 0

    thanks Allan

This discussion has been closed.