Hi,
While running this code, get null exception some times,
{
ugr.Cells["Select"].Value = true;
else
}
Can anyone suggest any other method to set the column value.
regards,
pgr2007
Okay, that makes sense. When you group the grid using OutlookGroupB, the root level rows of the grid are no longer data rows, they are groupby rows and (as you can see) they don't have any cells.
What you probably want to do is is use grid.Rows.GetFilteredInNonGroupByRows or GetAllNonGroupByRows, instead of just grid.Rows.
HI,
Thanks for the reply,
It worked, really appreciate your commitment.
this.UltraGrid1.Rows.GetAllNonGroupByRows() instead of this.UltraGrid1.Rows
Is there anything I have to take care before changing.
pgr2007 said:Is there anything I have to take care before changing.
Nope. Can't think of anything.