1 Reply Latest reply on Jun 22, 2009 12:22 PM by allforjava.allforjava.aol.in

    How do I get and item from a scrollableDataTable

    gturek
      I had no problems doing this using <h;dataTable>, but I am now trying to use a <rich:scrollableDataTable> component and it is not clear how to do this. I can populate the table no problem, I can't get the selection though.
      Thanx
      Gaby
        • 1. Re: How do I get and item from a scrollableDataTable
          allforjava.allforjava.aol.in
          Hi,

          You may use

          <rich:scrollableDataTable ...>

          <a:support event="onRowClick">
               <f:setPropertyActionListener value="#{scrollableDataTableVariable}" target="#{Bean.instance}"/>               
          </a:support>
          </rich:scrollableDataTable>

          As the query is realted to RichFaces you may find the details at:
          http://www.jboss.org/index.html?module=bb&op=viewforum&f=261