2 Replies Latest reply on Feb 10, 2009 12:16 PM by priestex

    extendeddatatable column width won't grow

    devonbl

      I'm using richfaces 3.3.0 using extended data table. The table will let me make columns smaller, but not larger than the default width. Once I make the columns smaller, I can not bring them back to their default width. Here's my table:

      <h:form id="gridForm">
       <rich:extendedDataTable id="activitiesGrid" value="#{activitiesListingDataModel}" var="row"
       rows="20" width="100%" sortMode="single"
       selectionMode="multi" tableState="#{activitySearchDataProvider.activitiesTableState}">
       <rich:column id="activityNameColumn" sortable="true" label="#{field_activityName}"
       sortBy="#{row.activityName}" width="150px">
       <f:facet name="header">
       <h:outputText value="#{field_activityName}"/>
       </f:facet>
       <h:outputLink value="/activity/#{row.activityId}">
       <h:outputText value="#{row.activityName}"/>
       </h:outputLink>
       </rich:column>
       <rich:column id="activityTypeColumn" sortable="true" label="#{field_activityType}"
       sortBy="#{row.activityTypeName}" width="100px">
       <f:facet name="header">
       <h:outputText value="#{field_activityType}"/>
       </f:facet>
       <h:outputText value="#{row.activityTypeName}"/>
       </rich:column>
       <rich:column id="locationColumn" sortable="true" label="#{field_location}"
       sortBy="#{row.locationName}" width="150px">
       <f:facet name="header">
       <h:outputText value="#{field_location}"/>
       </f:facet>
       <h:outputText value="#{row.locationName}"/>
       </rich:column>
       </rich:extendedDataTable>
       <rich:datascroller id="pageScroller" for="activitiesGrid"
       page="#{activitySearchDataProvider.scrollerPage}"
       align="center" maxPages="10"/>
      </h:form>
      


      Any help appreciated
      Devon.Lindsey@garmin.com