If all you need is the DataRowView associated with the currentcell in a GridGroupingControl, you can use:
Element el = this.gridGroupingControl1.Table.GetInnerMostCurrentElement();
if(el is GridRecord)
{
DataRowView drv = el.GetData() as DataRowView;
}
You can also get a list of the records through GetInnerMostCurrentElement.
private void button1_Click(object sender, System.EventArgs e)
{
Element el = this.gridGroupingControl1.Table.GetInnerMostCurrentElement();
if(el is GridRecord)
{
DataRowView drv = el.GetData() as DataRowView;
Console.WriteLine(drv[0]);
GridChildTable gct = el.ParentChildTable as GridChildTable;
Console.WriteLine(gct.ParentTable.FilteredChildTableOrTopLevelGroup.FilteredRecords.Count);
Console.WriteLine(gct.ParentTable.FilteredChildTableOrTopLevelGroup.FilteredRecords[0]);
}
}
Here is a little sample.
http://www.syncfusion.com/Support/user/uploads/GGC_CM_9f5e57b5.zip