Need some help in setting the column width for the datatable. However, the datatable width does not seem to be uniform.The width of the column in the datatable, seems to vary depending on the column header length. please refer the code below.
<p:column style="text-align: left; width:15px;" >
<f:facet name="header">
<h:outputText id="SalesHistoryID" value="View Sales History/Forecast"/>
</f:facet>
<h:commandLink id="ForecastID" value="View"/>
In the above case, the column header value length 'View Sales History/Forecast' seems to be large and hence the column width also seems to expand depending on the column header text value. Can you please let me know if there is any way to actually maintain uniformity in the column width and that not depend on the column header text value.
In case if the column header text length is too large, is there a way to maintain uniformity in the column width ?? please Assist. Thanks in Advance