to update modified data at once, using drag and drop, and moverow function
hi,
I have a question. I'm making a drag and drop table using grid. Using the drag and drop function in gird, I implement the function that allows checked rows to move up and down one by one by clicking drag&drop or button. If possible, I would like to implement the function of moving the checked row to the top and bottom.
But there's a problem here. I moved the row using the "moveRow" function, and row 2 moved to row 1, but row 2 still had rowKey value 1 and row 1 to row 2 still had rowKey value 0.
I think it'll be not a problem if I update the database with new values every time I modify the data, but the way I want to do it is to modify all the rows and then save them to the database at once.
After modifying the row, the rowKey value was still not modified, so the "moveRow" function could not be used continuously. I'm leaving a question just in case there's a solution.
@yewon97
Drag and drop doesn't change rowKey. However, the value of the rowNum attribute in _attribute of the row obtained using getModifiedData API is changed.
This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!
This issue will be closed due to inactivity. Thanks for your contribution!