Drawing table

Hello!
I am using Essential Studio 4.3.0.30.

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.


table_example.zip

1 Reply

AD Administrator Syncfusion Team 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.

Table_style.zip


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

Regards,
Prakash.




Loader.
Up arrow icon