2 Replies Latest reply on Aug 19, 2009 10:34 AM by apg9595

    rich:scrollableDataTable and h:selectbooleancheckbox losing

    apg9595

      I have a boolean check box inside rich:scrollabledatatablegrid. When i scroll the grid and come back, the state of the booleancheckbox is lost at times. THis happens very randomly. I checked the state of objects and the objects appear to be selected. However the display gets messed up. it doe snot show the check on the checkbox. Suggestions?



      <h:selectBooleanCheckbox value="#{row.cells[columnIndex].selected}"
      rendered="#{row.cells[columnIndex].selectable}" styleClass="rich-sdt-column-cell">

      <a4j:support actionListener="#{gridController.selectItem}" event="onclick" reRender="showSelectedPanel">

      <f:attribute name="path" value="#{row.cells[columnIndex].path}" />
      <a4j:actionparam name="isChecked" value="this.checked" noEscape="true"/>
      </a4j:support>
      </h:selectBooleanCheckbox>