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.
Unfortunately, activation email could not send to your email. Please try again.

Drawing table

Thread ID:

Created:

Updated:

Platform:

Replies:

52671 Dec 1,2006 09:27 AM Dec 1,2006 11:13 AM ASP.NET Web Forms (Classic) 1
loading
Tags: PDF
Vaks
Asked On December 1, 2006 09:27 AM

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

Administrator [Syncfusion]
Replied On December 1, 2006 11:13 AM

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.




CONFIRMATION

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.

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.

;