AD
Administrator
Syncfusion Team
March 8, 2005 09:28 AM UTC
You can also do it using QueryCellStyleInfo. There if(e.Style.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionCell) then set e.Style.Text to what you want. You can use code like this to get at th egroup.
GridCaptionRow capRow = e.Style.TableCellIdentity.DisplayElement as GridCaptionRow;
Group g = capRow.ParentGroup;