We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Row dropped seem to triger two events with two different IDs

Hi,


When using drag and drop between grids, the drop events trigger two events even though the ids are different.


Regards,

Alex


Attachment: sf_32da9493.zip

3 Replies 1 reply marked as answer

MS Monisha Saravanan Syncfusion Team March 22, 2023 12:42 PM UTC


Hi Alex,


Query: “When using drag and drop between grids, the drop events trigger two events even though the ids are different.”


Yes we will trigger the events in both the Grid. Because when using remote data we need to handle the removed item on our own so it will be triggered for both the Grids.


Please let us know if you have any concerns.


Regards,

Monisha



AP Alexandre Pereira March 22, 2023 10:31 PM UTC

I have logic on my side that I want to execute only for 1 grid, for example deleting or creating server side, what would be the best approach?



MS Monisha Saravanan Syncfusion Team March 23, 2023 09:43 AM UTC


Hi Alexandre,


You can use destination Grid event to handle your customization. i.e.) in which the row is dropped.



Marked as answer
Loader.
Up arrow icon