RowDropped Event handler never fires for Grid

The following code never fires the RowDropped event handler after dragging and dropping a row in the grid to reorder the rows. This code reproduces the issue in your online blazor playground. Any feedback would be greatly appreciated. Thank you.


3 Replies

NP Naveen Palanivel Syncfusion Team September 25, 2023 02:05 PM UTC

Hi Enoch,

Upon reviewing your query, we have identified an issue with the Row Drag and Drop functionality. After validating the provided sample, it appears that the "IsPrimaryKey" property is missing in the column configuration, which is causing the feature to not function as expected. We have included a modified sample below for your reference

Sample : https://blazorplayground.syncfusion.com/embed/VDrKXOhyeNDqApvh?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5


Please let us know if you have any concerns.


Regards,

Naveen Palanivel



EN Enoch September 25, 2023 09:17 PM UTC

That did it. Thank you!



SP Sarveswaran Palani Syncfusion Team September 26, 2023 01:15 PM UTC

Hi Enoch,


Thanks for an update.

If you have any further queries, please get back to us.

Regards,
Sarvesh


Loader.
Up arrow icon