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

Drawing table

Thread ID:





52671 Dec 1,2006 02:27 PM UTC Dec 1,2006 04:13 PM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Asked On December 1, 2006 02:27 PM UTC

I am using Essential Studio

I have some questions about table drawing:
1.Why I can't change the following properties: ITableStyle.BorderColors, ITableStyle.BordersWidth... and a lot of others, to modify the table style?
2.How can I change table header background color and leave the color of all other cells?
3.How make the cells border width equal 0 or make them non visible?

P.S.: I want to get somthing like in attachment.


Administrator [Syncfusion]
Replied On December 1, 2006 04:13 PM UTC

Hi Vaks,

We do have support for changing the border color, border width, back color and so on.
and change the table header background color by following line.

// Change the header background color
table.Header[0].Cells[i].Style.BackColor = Color.FromArgb(216,75,100);

// Border width can be set by following line.
table.Rows[i].Cells[j].Style.BordersWidth.All = 0;

I have created a sample as you had given in the attachment. Could you please refer the sample it will show what you needed.

Here is the sample for your reference.


Could you please take a look at this and let me know if you have any other queries.



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