Hi Saumya,
Thank you for your interest in Syncfusion products.
You can use GridGroupingControl for displaying hierarchical levels which will give us better clarifications than GridDataBoundGrid. I have created a sample for GridGroupingControl. You can make use of the below method to swap parents and children. Likewise, you can modify the method as per your application.
static void MoveCollectionItem(IList list, int oldIndex, int newIndex)
{
var temp = list[oldIndex];
if (newIndex > oldIndex)
for (var i = oldIndex; i < newIndex; ++i)
list[i] = list[i + 1];
if (newIndex < oldIndex)
for (var i = oldIndex; i > newIndex; --i)
list[i] = list[i - 1];
list[newIndex] = temp;
}
Please refer to the following sample which illustrates the same.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=SyncFusionGridProblem-1920350998.zipLet me know if you have any other concerns.
Regards,
Christo.