2 Replies Latest reply on Jun 2, 2008 7:08 AM by lgweb

    RichDataTable

    lgweb

      Staff would like to know if there is possibility to show or not a button in a row according to a status of the same line, or in some lines of the table I would have a button for editing and not others, someone already did this?
      you, hugging.

        • 1. Re: RichDataTable
          mail.micke

          Have a look if the near ubiquitous rendered attribute can achieve what you want.

          Ex:

          <rich:dataTable var="row" ...>
          
          <rich:column>
          <f:facet name="header">The header</f:facet>
          <h:commandButton .... rendered="#{row.editBtnEnabled}"/>
          
          </rich:column>
          
          </rich:dataTable>
          


          • 2. Re: RichDataTable
            lgweb

            Thanks :)