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 : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Highlight/format highest value

Thread ID:

Created:

Updated:

Platform:

Replies:

68248 Sep 13,2007 11:39 AM UTC Jun 23,2010 02:31 PM UTC WinForms 2
loading
Tags: Grouping
Paul Sullivan
Asked On September 13, 2007 11:39 AM UTC

Hi,
How do I conditionally format the highest/lowest values in a numerical column? E.g. change the colour of the text of the highest value.

Rajarajeswari S [Syncfusion]
Replied On September 25, 2007 07:14 AM UTC



Hi,

Thanks for using Syncfusion products,

GridConditionalFormatDescriptor is used to fromat the Grid Grouping Controll,but it does not support any predifined formula for finding the Max value in a particular column. Using sorting techniques we can find out the Maximum value and then we can apply the FormatDescriptor to the Max value.

Please refer the below code snippet which illustrates this,

gridConditionalFormatDescriptor1.Expression = "[ID]=" + no[0].ToString();

In the above code no[0] is a Maximum value.

Please refer the sample from the below link which illustrates the above,

http://websamples.syncfusion.com/samples/Grid.Windows/F68248/main.htm

Regards,
S.Rajarajeswari

Palak Jain
Replied On June 23, 2010 02:31 PM UTC

I have a similar issue, I need to highlight the minimum of a column and maximum of another column per group. The datasource updates in real-time and the new minimum and maximum of every group should get highlighted.

CONFIRMATION

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.

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

;