Description:
How to expand a specific grouping?
Answer:
You should use the GridView.ExpandGroupRow method. Please review the Working with Groups in Code topic in the XtraGrid's help.
The following example expands the "current date" group:
C#int dataRowHandle = gridView1.LocateByValue("DateTimeField", DateTime.Today);
int groupRowHandle = gridView1.GetParentRowHandle(dataRowHandle);
gridView1.ExpandGroupRow(groupRowHandle);
Visual BasicDim dataRowHandle As Integer = gridView1.LocateByValue("DateTimeField", Date.Today)
Dim groupRowHandle As Integer = gridView1.GetParentRowHandle(dataRowHandle)
gridView1.ExpandGroupRow(groupRowHandle)
See also:
Grouping
Tutorial: Identifying Rows