AD
Administrator
Syncfusion Team
November 22, 2006 05:08 AM UTC
Hi Josh,
In a flat groupinggrid, you can get the selected records in this manner.
GridTable gt = this.gridGroupingControl1.Table;
foreach(SelectedRecord rec in gt.SelectedRecords)
{
Console.WriteLine(rec.Record);
}
With the nested tables, you need to get the child table you want, and do the same type of thing. Here is a code snippet
GridTable gt = this.gridGroupingControl1.GetTable("ChildTable");
foreach(SelectedRecord rec in gt.SelectedRecords)
{
Console.WriteLine(rec.Record);
}
Please refer to the attached sample for getting selected record in a grid.
http://www.syncfusion.com/Support/user/uploads/GGC_HideTable_4d9308b7.zip
Best Regards,
Haneef