tags:

views:

20

answers:

1

How to autoSize table cells which was generated by seam pdf plugin (via iText)

+1  A: 

You can use widthPercentage

<p:table columns="2" headerRows="1" widthPercentage="95">

Then your cells should automatically fill that width

Shervin
I would prefer to autoSize within a column. The current mechanism seems to work, but sometimes wraps the text if it's too lengthy even though it has allocated more space to the other columns which have lesser data
Samuel