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

how do i change the color on just one column header in a griddataboundgrid

Thread ID:





114738 Dec 5,2013 06:21 PM UTC Dec 11,2013 06:54 AM UTC WinForms 2
Tags: GridControl
QLT User
Asked On December 5, 2013 06:21 PM UTC

i have multiple columns but want to make one column header color to be different from others.

Praveena P [Syncfusion]
Replied On December 11, 2013 06:34 AM UTC

Hi QLT User,

Thanks for your interest in Syncfusion products.

To change the specific one column header color, kindly make use of the below code in which can be used for changing color of 3rd column header .

gridDataBoundGrid1[0, 3].TextColor = Color.Red;


Praveena P [Syncfusion]
Replied On December 11, 2013 06:54 AM UTC

Hi QLT User,

We deeply regret for the inconvenience.Please ignore the previous response.

To change the specific column headercolor in GridDataBoundGrid make use of PrepareViewStyleInfo event.

Please refer the below link:




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