Closed ShubhamSinghNW18 closed 1 year ago
Hi @ShubhamSinghNW18 can you share a stackblitz example of that issue? Thanks!
Hi @komarovalexander Please check this url https://stackblitz.com/edit/table-row-reordering-ts-2j7isl?file=Demo.tsx
On line number 34 I have added 1 console log which shows the targetRowKeyValue
when you reorder the column 1 row 0 to position 1 it shows the targetRowKeyValue as 1 which is correct but when you reorder that same row i.e column 1 row 0 to position 0 it again shows targetRowKeyValue as 1 ideally it should show 0 because we are reordering that row to position 0
Hi @komarovalexander Do you have any update on this issue?
Hi @ShubhamSinghNW18 it is actually works as expected, as it is targetRowKeyValue (not targetRowIndex), so to move one row from one position to another you have to specify the key of the row to which position you want to move it
Hi @komarovalexander I am getting wrong targetRowKeyValue while using drag & drop row data feature