Hi Paul,
Sorry for the delay in responding.
In order to set a record in a nested table as current, you have to expand its parent record and then set this record as current.
Here is the code snippet:
Record parent = null;
Record rec = null;
private void button5_Click(object sender, EventArgs e)
{
foreach(Record r in gridGroupingControl2.Table.Records)
{
foreach (Record rc in r.NestedTables[0].ChildTable.Records)
{
if (rc.GetValue(column).ToString() == "CRD DS ERICSSON EUR")
{
parent = r;
rec = rc;
break;
}
}
}
parent.IsExpanded = true;
rec.SetCurrent();
}
Please refer to the modified sample that illustrates the same:
http://websamples.syncfusion.com/samples/Grid.Windows/F68172/main.htmKindly let me know if this helps you.
We appreciate your interest in Syncfusion products.
Best regards,
Golda