I have implemented drag and drop with grouping, in general it works fine but I found an error. here is the scenario
assume my data is as below in the datagrid
- Group 1
-item 1
-item 2
- Group 2
- item 1
- item 2
If I drag and drop group 2 over group 1, for code below (e.CurrentRowData is Syncfusion.Data.Group) true , but If I drag group 1 below group 2, (e.CurrentRowData is Syncfusion.Data.Group) false because e.CurrentRowData is returned as type of items, it doesnt return as a group.
private async void SfGrid_QueryRowDragging(object sender, QueryRowDraggingEventArgs e)
{
if (e.Reason == QueryRowDraggingReason.DragEnded)
{
var data= e.CurrentRowData;