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

Best way to color whole row from dataset value

Thread ID:





104225 Jul 2,2012 06:40 AM UTC Aug 24,2012 12:19 PM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Matthias Max
Asked On July 2, 2012 06:40 AM UTC


how do I do this the easiest way?

For example when I have one column with red, yello and green as values and want to color the whole row like this?

Thank you.

Mohanraj S [Syncfusion]
Replied On August 24, 2012 12:19 PM UTC

Hi Matthias,


Thanks for using Syncfusion products.                 


Your requirement "Best way to color whole row from dataset value" can be achieved through c# code.


Please refer the following code snippets:


this.GridGroupingControl1.TableDescriptor.Columns[0].Appearance.AnyCell.BackColor = Color.Red;

this.GridGroupingControl1.TableDescriptor.Columns[1].Appearance.AnyCell.BackColor = Color.Yellow;

this.GridGroupingControl1.TableDescriptor.Columns[2].Appearance.AnyCell.BackColor = Color.Green;


Please let me know if you have any concerns.





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

or the page will be automatically redirected to 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