1 Reply Latest reply on Mar 20, 2009 5:20 AM by ilya_shaikovsky

    why scrollableDataTable can't refresh tableData first time?

    ranyut

      I'm using richfaces 3.2
      I used

      <rich:scrollableDataTable ......>
      <rich:column id="cfullname" sortable="true" rendered="#{pmzregBean.dispHideHosp}">
      <f:facet name="header"><h:outputText id="c_1" value="Name" /></f:facet>
      <h:outputText id="c_2" value="#{ghlist.cfullname}" rendered="#{pmzregBean.dispHideHosp}"/>
      </rich:column>
      .......

      and want to refresh it at

      <a4j:commandButton value="GO" action="#{pmzregBean.query}"
      reRender="c_2" id="submit" />
      when I click "GO" at the first time ,table is null , but when i click the header "Name" ,the table have data now!!
      And then , when i query other data , the table hava new data ,it can refresh.

      But why the first time haven't data ? and need click the header ??