1 Reply Latest reply on May 20, 2009 8:29 AM by Ilya Shaikovsky

    How to preserve row state in richfaces dataTable?

    Jagdish Bolla Newbie

      I want to preserve the dataModel / table rows when I scroll through the datatable, but I want to refresh / reload the data when I navigate to this page from some other page.

      I tried <a4j:keepAlive beanName="logLoadController" ajaxOnly="true"/>
      , but it does not preserve the bean when i scroll through the dataScroller.

      I am using richfaces 3.1.4 GA

      <rich:dataTable id="logTable" rows="10"
       value="#{logLoadController.allLogs}" var="row" rowKeyVar="index"
       <h:selectBooleanCheckbox value="#{row.selected}">
       ... other columns
      <rich:datascroller id="logDatascroller" align="left"
       for="logTable" ajaxSingle="false"/>