how to remove auto sort after inline update?

how to remove auto sort after inline update?

scipiosoftscipiosoft Posts: 18Questions: 8Answers: 0

how to remove auto sort after inline update?

i have default sort by date_modify, when i edit row inline it jump to top of table.. because table is resorting it self by date_modify
i want this row to remain in place

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 61,824Questions: 1Answers: 10,131 Site admin
    Answer ✓

    Use the drawType option of the form-options object. Setting it to page will cause Editor to not immediately redraw (example in the documentation).

    Allan

  • scipiosoftscipiosoft Posts: 18Questions: 8Answers: 0

    thx :)

  • scipiosoftscipiosoft Posts: 18Questions: 8Answers: 0

    i want now to add new row in some position (index)
    its possible?

  • allanallan Posts: 61,824Questions: 1Answers: 10,131 Site admin
    Answer ✓

    Not as such. The position of the data in the table is directly controlled by DataTables ordering. So the data will be positioned by the data it contains and the order applied to the table.

    Allan

This discussion has been closed.