Primefaces p:columns individual with of columns
<p>When using p:columns inside a datatable, all columns have the same width. Is there an easy way to define different widths for each column.</p>

<p>I tried to wrap the outputtext inside an panelGrid, but that doesn't solved the problem.</p>

<p>Thanks for any advice!</p>

<pre><code>&lt;p:columns value="#{Bean.columns}" var="column" &gt;
    &lt;p:panelGrid columns="1" width="#{Bean.settings.width(column.property)}"&gt;
        &lt;h:outputText value="blabla" /&gt;
    &lt;/p:panelGrid&gt;
&lt;/p:columns&gt;
</code></pre>