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. Image for the cookie policy date
close icon

Automatically setting a table column''s width based on its content

Hi,

I was wondering if it is possible to make a PdfLightTable automatically set its column width to fit just the content it holds and not leave any white space.

Thanks,

Kyle


1 Reply

BP Bhuvaneswari P Syncfusion Team December 10, 2008 11:14 AM UTC

Hi,

Currently we do not provide support to adjust the column width based on the longest length of a columns value. We can only set the column with of the table by using the below code:

table.Column[2].width=20 ;

We have forward regarding this feature request to our development team for to analysis the feature implementation feasibility and we will get back with more details within two business days

Thank you for your interest in Syncfusion products.

Best Regards,
Bhuvana



Loader.
Live Chat Icon For mobile
Up arrow icon