I have a JSF datatable with table-layout: fixed, where I am trying to set the percentage width for each column. I realized that if I add the width attribute to the title in IE, then it will work as expected. However, I cannot figure out how to add this width attribute to the code. I added an attribute inside the facet header, but that didn't work. It also did not work with customization inside the column tag.
If anyone can help me, this will be appreciated.
<h:column> <f:facet name="header"> <h:outputText value="#{messageSource['tasks.headline.task']}" /> <f:attribute name="width" value="20%"/> </f:facet> <t:commandLink id="lookAtTask" action="lookAtTask"> <t:updateActionListener property="#{flowScope.localTask}" value="#{data.task}" /> <h:graphicImage url="/images/icon_properties_16x16.gif" alt="#{messageSource['tasks.headline.task']}" /> </t:commandLink> </h:column>
source share