for example
Code: Select all
<p:datatable dynamic="true" selectionMode="single" var="row" rows="15" value="#{testBean.list}" paginator="true" paginatorAlwaysVisible="true" widgetVar="myTable" id="myPrimeTable">
...lot of columns
<p:column sortBy="#{row.salary}">
<f:facet name="header">
The Salary
</f:facet>
#{row.salary}
</p:column>
...lot of columns
When the header is larger than contents (e.g if #{row.salary} contains only 2 digit number), then the sort icon which on showcase appears on rightside of column header ("The Salary" above) now overlay with "The Salary".
So, i try to manually change the width of columns:
Code: Select all
<p:column sortBy="#{row.salary}" width="400">
</p:column>
Guess you need to know so it can be fixed on 2.2 stable
Thanks