0 Replies Latest reply on Aug 1, 2008 2:25 AM by btl_ayd

    in model panel datatabel of sorting doesnt work

      hi
      in my application I used model panel.In model panel there is datatable.
      data table can show data but sorting and datascroller doent work.Can anybody know what is problem.



      <rich:modalPanel id="stok" height="500" width="600">

      <a4j:form ajaxSingle="false">
      <rich:datascroller style="margin-left:10px; margin-right:550px;" fastStep="2" stepControls="show" ajaxSingle="false" id="d" maxPages="20" renderIfSinglePage="true" for="tablo" align="center" boundaryControls="show" fastControls="show">
      </rich:datascroller>
      <rich:dataTable id="tablo" rows="7" value="#{TestRapor.stoktablo}" styleClass="table1" footerClass="foot" headerClass="theader1" rowClasses="row1,row2" var="satir" width="100%" onRowMouseOver="this.style.backgroundColor='#FBF7E6'" onRowMouseOut="this.style.backgroundColor=''" rowKeyVar="index">
      <rich:column sortBy="#{satir.stokkod}" filterBy="#{satir.stokkod}">
      <f:facet name="header"><h:outputText value="Stok kodu"></h:outputText></f:facet>
      <h:outputText value="#{satir.stokkod}" styleClass="cell"></h:outputText>
      </rich:column>
      <rich:column sortBy="#{satir.stokad}" filterBy="#{satir.stokad}" filterEvent="onkeyup" style="width: 60px;">
      <f:facet name="header"><h:outputText value="Stok adı"></h:outputText></f:facet>
      <h:outputText value="#{satir.stokad}" styleClass="cell"></h:outputText>
      </rich:column>
      </rich:dataTable>
      <a4j:commandButton value="Çıkış" styleClass="button" reRender="tablo" onclick="javascript:Richfaces.hideModalPanel('stok')" ></a4j:commandButton>
      </a4j:form>

      </rich:modalPanel>