RowReorder - Get updated rows order (UI order)

RowReorder - Get updated rows order (UI order)

DeanMillsDeanMills Posts: 5Questions: 1Answers: 0

I've been struggling with this for too long.
I want to get the row order after a row was dragged.
When I do dataTable.rows().data() it prints the original order.
What I've tried:
invalidate()
dataTable.rows({ order: 'updated'}).data()
dataSrc: 'order'

I set update: false since I don't want to make ajax call after row reorder. I have a save button that should save the new order of the rows.

Answers

  • kthorngrenkthorngren Posts: 21,160Questions: 26Answers: 4,921

    Looks like I answered you question in this other thread. Please don't duplicate questions, it becomes confusing for those trying to help.

    Kevin

This discussion has been closed.