We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

conditional formatting in a GGC summary row

Thread ID:





38263 Dec 8,2005 11:20 PM UTC Dec 9,2005 12:54 AM UTC WinForms 1
Tags: GridControl
Eric Weber
Asked On December 8, 2005 11:20 PM UTC

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!


Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon