Can you recommend me a sensible practice how to do it. I use
Kanban and I drag and drop to change status and to change order. I have no
problem if I drag and drop between columns, but I have difficulty to figure out
how manually persist data I drag and drop within a column to change order. I am
sorting by index, which is an OrderID field in a database. I can for sure to deal with DragStop event and PreviousCardData.RankId
but then I need to count indexes, in my case my business
tasks are mapped to Kanban columns in non-trivial way and I would very easy get confused with run away indexes. I would rather loop over a column and get a list of my IDs along with new indexes, wipe out the DB OrderId for the proper items statuses and then to reseed new OrderIDs.
VJVinitha Jeyakumar Syncfusion Team February 6, 2023 02:30 PM UTC
We want to let you know that we need to bind unique field to the header Field, and we shouldn't use same fields to the sorting field and header Field. So please make sure you have used a unique field to avoid sorting issues.
If you want to get the changed records on card drag, you can get the details when using Update URL function with URL Adaptor.
Can you please share us with your exact requirement and issue you have faced along with some video or image illustration for our better understanding? What is the adaptor you have used at your end?