1 Reply Latest reply on Nov 2, 2009 4:24 AM by ilya_shaikovsky

    rich:dataGrid - How reRender only one Row ?

    karam

      Hi,
      i use rich:dataGrid and want reRender only the Row where the image was clicked...
      how i can do this? any idea?

      Here an Example...

       <h:form>
       <rich:dataGrid value="#{videoBean.allVideos}" var="vi" width="600px"
       styleClass="center" elements="2">
       <rich:panel>
       <f:facet name="header">
       <h:outputText value="Video"></h:outputText>
       </f:facet>
       <h:panelGrid columns="1" styleClass="center">
       <h:graphicImage value="#{vi.img}">
       <a4j:support event="onclick" reRender="howreRenderThisRow?" />
       </h:graphicImage>
       <h:outputText value="#{vi.url}" />
       </h:panelGrid>
       </rich:panel>
       <f:facet name="footer">
       <rich:datascroller></rich:datascroller>
       </f:facet>
       </rich:dataGrid>
       </h:form>