Hi,
When using the RowReorder feature in a TreeGrid, how do I get the source index of a reordered row?
Say that I have a list of records: [3,4,5]
And I am moving the record 3 to be the last record: [4,5,3]
The source index is 0 and the target index is 2.
Is there any value in the context object provided by the gridRowDrop listener which gives me the source index (in this case 0)?
The backend is expecting an integer which indicates how many positions a record should move. To compute that integer, I need to know the source index and the target index.