AD
Administrator
Syncfusion Team
January 29, 2007 11:33 AM UTC
Try code like:
void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
if (e.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionCell)
{
GridCaptionRow cap = e.TableCellIdentity.DisplayElement as GridCaptionRow;
if(cap != null && cap.ParentGroup != null && cap.ParentGroup.Category != null)
{
//cap.ParentGroup.Category // the value
// cap.ParentGroup.CategoryColumns[0].Name // the column name
}
}
}
to see if this gives you what you need.
AD
Administrator
Syncfusion Team
January 29, 2007 12:59 PM UTC
Hi Clay,
thanks - this works fine for me :-)