2 Replies Latest reply on Oct 28, 2009 7:14 AM by guus vorsterman

    howto set column width in suggestionbox

    guus vorsterman Newbie

      How can set the width of a column in the following code:

       <rich:suggestionbox
       id="contractLookup" for="packContract" usingSuggestObjects="true"
       suggestionAction="#{shipmentOrderLookup.autocomplete}" var="row"
       width="450" nothingLabel="#{messages.noDataFound}" minChars="3"
       >
      
       <h:column>
       <h:outputText value="#{row.contract}">
       </h:outputText>
       </h:column>
      
       <h:column>
       <h:outputText value="#{row.boat}" />
       </h:column>
      
       <h:column>
       <h:outputText value="#{row.shipmnr}" />
       </h:column>
      
       <h:column>
       <h:outputText value="#{row.colli}" />
       </h:column>
      
       <h:column>
       <h:outputText value="#{row.pallets}" />
       </h:column>
      
       <a:support ajaxSingle="true" event="onselect" reRender="packShipmnrDiv">
       <f:setPropertyActionListener value="#{row.shipmnr}"
       target="#{manualShipmentHome.packShipmnr}" />
       </a:support>
      
       </rich:suggestionbox>