• Issue with xe:addRows

    By Fernando Levi 1 decade ago

     

    In a dataView created with showCheckbox="true", to select documents, there is an issue using xe:addRows to add documents to the view: added documents are not selected.

    • sample db with issue

      By Fernando Levi 1 decade ago

       

    • The state should be saved

      By Philippe Riand 1 decade ago

      Thanks for the DB.

      The problem happens because the view on the server doesn't keep track of the rows being added dynamically, and only the initial one. Unless you set the 'state' property on the xe:addRows simple action. In this case, when the Ajax request is processed, the state of the view is saved, and the select chcekboxes work for the whole list.