Need help setting column width for datatable. However, the data width does not seem uniform. The column width in a datatable seems to vary depending on the length of the column header. see 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 length of the column heading βView Sales History / Forecastβ seems large, and therefore, the column width also expands depending on the value of the text in the column heading. Could you tell me if there is a way to maintain uniformity in the width of the column and not depend on the value of the text in the column header.
If the length of the text in the column heading is too long, is there a way to maintain uniformity across the width of the column? Please, help. Thanks at Advance
source share