0 Replies Latest reply on Nov 13, 2007 1:46 AM by lala cruz

    Disable Row Selection feature of ScrollableDataTable

    lala cruz Newbie

      I want to disable the "One and multi-selection rows mode" feature of the scrollabledatatable. It says in the richfaces user guide that the "Selection is optional and availability of such feature is defined on the component."

      The reason why I want to do this is because whenever I click on a row, and then click on a sortable header, I get this error:

      java.io.NotSerializableException: org.richfaces.model.selection.SelectionRange

      Is there a way to prevent execution of onrowclick event completely?


      ==================================
      From RichFaces User Guide:

      It's possible to select the whole row with onclick on the row or some set of rows. Selection is optional and availability of such feature is defined on the component.

      There are two ways to select a few rows:
      • Just clicking the columns one by one.
      • Clicking some row with the SHIFT button hold. In this case all the rows starting from last selected up
      to clicked should be selected.