how can I adjust width of <p:column> in <p:panelGrid>?

primefaces

Solution

you can either use a hard coded value:

<p:column style="width:20px">

or a percentage :

<p:column style="width:20%">

depending on what suits you best.

Problem

I used width attribute as for all columns but In display, columns are not adjusted. Can i get in this way? If, please guide me to achieve column widths as I desired.

Original source