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.
Syncfusion Feedback

How to set column width in a table ? Version 11.2.0.25

Thread ID:

Created:

Updated:

Platform:

Replies:

109952 Jul 12,2013 09:05 AM UTC Jul 15,2013 01:00 PM UTC Windows Forms 1
loading
Tags: DocIO
Chris Crowhurst
Asked On July 12, 2013 09:05 AM UTC

Hi,

I wish to be able to set the widths of individual columns in a table using DocIO. In your source example I see there is a Columns property of the IWTable object, but it is not available when I am coding in Visual Studio, nor it is appearing in your class documentation.

So far the only way I can set the column widths is using the ResetCells method, but that sets all columns widths to the same value.

Can you  please advise on what I need to do ?

Thanks

Chris

Prasanth M B [Syncfusion]
Replied On July 15, 2013 01:00 PM UTC

Hi Chris,

Thank you for using Syncfusion products.

Regarding Column width for the table:
Currently DocIO does not have support to set the column width of the table. Instead, kindly make use of width property of WTableCell class. We have prepared a sample to illustrate your requirement. Please do find the sample from the attachment. Try running the sample and let us know if this helps you.

Regarding column property in IWTable class:
DocIO doesn’t have columns property in IWTable class. Please refer the below UG documentation link for details.

UG documentation link:
http://help.syncfusion.com/ug/asp.net/docio/default.htm#!documents/table.htm

Please let us know if you have any questions.

Regards,
Prasanth.



Sample_d86a952b.zip

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.

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

;