AD
Administrator
Syncfusion Team
October 16, 2006 04:41 AM UTC
Hi Michael,
You could try handling QueryCellStyleInfo event as shown in the following code:
switch(e.TableCellIdentity.TableCellType )
{
case GridTableCellType.SummaryTitleCell:
GridSummaryRow row = e.TableCellIdentity.DisplayElement as GridSummaryRow;
if( row != null && row.ParentGroup != null)
{
object category = row.ParentGroup.Category;
if( category != null && category != string.Empty )
e.Style.Text = category.ToString() ;
}
break;
}
Please let me know if you need further assistance.
Regards,
Haneef