Hi Mike,
I have similar issue to select all rows under GroupByRow in an UltraWinGrid. My UltraWinGrid contains bunch of GroupByRows. If I select any GroupByRow,
it should select all the respective datarows. Here is my sample code:
foreach(UltraGridRow row in this.Grid.Selected.Rows)
{
if (row is UltraGridGroupByRow)
{
UltraGridGroupByRow groupByRow = row as UltraGridGroupByRow;
RowsCollection rows = groupByRow.Rows;
Grid.Selected.Rows.AddRange((UltraGridRow[])rows.All); //Throwing NullReferenceException
}
}
Could please help me to resolve this and let me know if you need more information. Thank you.