1 Reply Latest reply on Apr 21, 2008 6:28 AM by Konstantin Mishin

    Scrollabledatatable breaks after sorting one or more columns

    Pallavi Kodatham Newbie

      I am using rich:scrollabledatatable to display data..but my table loses scrollable feature once sorting on one or more columns is done and submitting...

      can anyone advise me what may be the error...here is the code..
      <rich:scrollableDataTable id="#{meterTableId}" value="#{meterList)}"
      var="meterBean" width="750px" border="1" height="250px" rows="10" sortMode="single">
      <rich:column width="30px">
      <f:facet name="header">Select</f:facet>
      <h:selectBooleanCheckbox styleClass="normal" value="#{meterBean.selectMeter}" disabled="false" />
      </rich:column>
      <rich:column sortable="true" sortExpression="#{meterBean.meter.esid}">
      <f:facet name="header">esid</f:facet>
      <h:outputText value="#{meterBean.meter.esid}"/>
      </rich:column>
      <rich:column>
      <f:facet name="header">Type</f:facet>
      <h:outputText value="#{meterBean.meter.type.description}"/>
      </rich:column>
      <rich:column>
      <f:facet name="header">Address</f:facet>
      <h:outputText value="#{meterBean.meter.address}"/>
      </rich:column>
      <rich:column>
      <f:facet name="header">City</f:facet>
      <h:outputText value="#{meterBean.meter.city}"/>
      </rich:column>
      </rich:scrollableDataTable>
      where metertableid and meterlist are passed as parameters.

      Any kind of help is appreciated..