conditional formatting in a GGC summary row

I''m using a GridGroupingControl and grouping by only 1 column. As you can see in the attachment, the underlying data rows have a COMMENT text color of red whenever the comment TYPE is equal to "MGR". How do I maintain this behavior in the summary row. In other words, in a summary row, how do I check to see if the comment TYPE column = "MGR" and then set the COMMENT color to red? Thanks!

summary_column_text_color.zip

1 Reply

AD Administrator Syncfusion Team December 9, 2005 12:54 AM UTC

So you are using CaptionSummaries, and you want to color the caption cell based on a value of one of teh summaries? If so, you can use the QueryCellStyleInfo event to do this. Here is SummaryInCaption sample that we ship modified to color the caption if the FreightAverage is bigger than 70. http://www.syncfusion.com/Support/user/uploads/CS_bb7dfea0.zip

Loader.
Up arrow icon