1 Reply Latest reply on Apr 15, 2010 8:45 AM by Ilya Shaikovsky

    Datascroller is not getting rendered with extendable datatable on a4j commnadbutton submit

    karthik kasier Newbie



      I am using RichFaces 3.3.3 release

      data scroller with page no's  is not getting renedered for extendable datatable on a4j commnadbutton submit


      here is the code


         <a4j:commandButton value="search"  onmouseover="this.style.color='white';"
         onmouseout="this.style.color='black';" action="#{extendedTableBean.doAction}" 
         <rich:datascroller align="left" for="table" maxPages="7"  id="tableScroller"   fastControls="hide"/>
        <rich:extendedDataTable value="#{extendedTableBean.capitalsDataModel}" var="cap" id="table" rows="10"
         width="580px" height="400px" sortMode="#{extendedTableBean.sortMode}" enableContextMenu="false"
          selectionMode="#{extendedTableBean.selectionMode}" paginated="true">
         <rich:column sortable="true" sortBy="#{cap.state}"  label="State Name">
          <f:facet name="header">
           <h:outputText value="State Name"/>
          <h:outputText value="#{cap.state}"/>
         <rich:column sortable="true" sortBy="#{cap.name}" label="State Capital">
          <f:facet name="header">
           <h:outputText value="State Capital"/>
          <h:outputText value="#{cap.name}"/>
         <rich:column sortable="false" label="Time Zone">
          <f:facet name="header">
           <h:outputText value="Time Zone"/>
          <h:outputText value="#{cap.timeZone}"/>



      After refesh it shows datascroller with page no.s


      can you please help me where i was doing wrong


      The same code renders datascroller with pageno,s on a4j command button submit correctly for datatable