Hello,
Is it possible to set the width of the table TD's of the generated suggestionbox?
The first code example is just adding 2 columns but they are spread over the table width resulting in to much space for the code column.
<h:column> <f:facet name="header"> <h:outputText value="Code"/> </f:facet> <h:outputText value="#{emp.key}"/> </h:column> <h:column> <f:facet name="header"> <h:outputText value="Naam"/> </f:facet> <h:outputText value="#{emp.name}"/> </h:column>
<h:column> <f:facet name="header"> <h:outputText value="Code"/> </f:facet> <div style="overflow: hidden; width: 80px;"> <h:outputText value="#{emp.key}"/> </div> </h:column> <h:column> <f:facet name="header"> <h:outputText value="Naam"/> </f:facet> <div style="overflow: hidden; width: 180px;"> <h:outputText value="#{emp.name}"/> </div> </h:column>
<td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding richfaces_suggestionSelectValue" style=";"> </td>