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

Change background color on whole column?

Thread ID:





91904 Dec 9,2009 05:16 AM UTC Dec 9,2009 07:06 AM UTC ASP.NET Web Forms (Classic) 1
Tags: XlsIO
Timothy L Anderson
Asked On December 9, 2009 05:16 AM UTC

If I go inot excel and highligh a whole column by clickingont he column header, then select "Cell Formatting" I can change the background color for the whole column.

Is there a way to do this with XlsIO? I have other formatting for the various cells within the columns already, i do not want to overwrite this, just change the background color for all cells within the column.


Pravin Joshua D [Syncfusion]
Replied On December 9, 2009 07:06 AM UTC

Hi Timothy,

Thank you for using Syncfusion products.

Yes. It is possible to change the background color of entire column, without changing the other formatting of cells within the column, using XlsIO. You can use the following code snippet to change the background color.



Please try this and let me know if you have any questions.

Pravin Joshua D


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