1 Reply Latest reply on Apr 12, 2007 6:35 AM by ilya_shaikovsky

    How to use rowkeyvar??

    xiaocase

      In richfaces 3.0.1-snapshot,,, datatable has a property named " rowkeyvar ",, how to use it???? is there any documents about it??? and dropdown menu???

        • 1. Re: How to use rowkeyvar??
          ilya_shaikovsky

          Attribute stores the rows numbers.
          very simple example

          <rich:dataTable rowkeyVar="rowkey"... >
          ...
           <h:column>
           <h:outputText value="#{rowKey}">
           </h:column>
          </rich:dataTable>
          

          will output nubmers of rows.

          DDMenu will be available after next release. It's under development.