4 Replies Latest reply on Apr 27, 2009 2:38 AM by mikolaj nowak

    Getting data from dataGrid

    mikolaj nowak Newbie

      Hi. I have such data grid:

      <rich:dataGrid
       id="lvlElements" binding="#{projectPlan.lvlElements}"
       onRowMouseOver="this.style.backgroundColor='#F1F1F1'" rowKeyVar="rkv"
       onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
       cellpadding="0" cellspacing="0"
       width="700" border="0"
       value="#{projectPlan.levelElements}" var="lvlInfo"
       columns="3" elements="12" style="width: 700px; margin: auto;">
      
      
       <f:facet name="header">
       <h:outputText value="opis etapu"/>
       </f:facet>
      
       <rich:panel>
       <f:facet name="header">
       <h:outputText value="#{lvlInfo.name}"/>
       </f:facet>
       <h:inputTextarea id="elemValue" value="" required="#{lvlInfo.required}" styleClass="txtarea" cols="50" rows="5"/>
      
       </rich:panel>
      
      
       <f:facet name="footer">
       <rich:datascroller id="ds" renderIfSinglePage="false"/>
       </f:facet>
      
      
       </rich:dataGrid>


      How can I get all values entered in all generated textareas?