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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set column width in a table ? Version

Thread ID:





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


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 ?



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:

Please let us know if you have any questions.




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

Live Chat Icon For mobile
Live Chat Icon