Home Forums WinForms controls Xceed Grid for WinForms Can I iterate thru detail grids to examine ColumnManagerRows Reply To: Can I iterate thru detail grids to examine ColumnManagerRows

User (Old forums)
Member
Post count: 23064

You’ll need to go through the datarows:
foreach(Xceed.Grid.DataRow rowToCheck in Grid.DataRows)
{
if(0 != rowToCheck.DetailGrids.Count)
{
Xceed.Grid.Collections.ReadOnlyDetailGridList detailGrids = rowToCheck.DetailGrids;
// Do what ever you want with the detail grids.
}
}

// To resize all detail grids the same ensure that they are synchronized.

Imported from legacy forums. Posted by Chris (had 2911 views)