2 Replies Latest reply on Sep 18, 2008 8:01 AM by lee shaotu

    extendedDataTable dosen't work well

    lee shaotu Newbie

      my code:

      <h:form>
       <h:panelGrid columnClasses="top,top">
       <rich:extendedDataTable value="#{person.userList}" var="per" id="userTable"
       width="450px" height="450px" >
      
       <rich:column sortable="true" sortBy="per.userSno" filterBy="per.userSno" filterEvent="onkeyup" width="100">
       <f:facet name="header">
       <h:outputText value="Sno"/>
       </f:facet>
       <h:outputText value="#{per.userSno}"/>
       </rich:column>
      
       <rich:column sortable="true" sortBy="per.userName" filterBy="per.userName" filterEvent="onkeyup" width="100">
       <f:facet name="header">
       <h:outputText value="Name"/>
       </f:facet>
       <h:outputText value="#{per.userName}"/>
       </rich:column>
      
       <rich:column sortable="true" sortBy="per.classNo" filterBy="per.classNo" filterEvent="onkeyup" width="100">
       <f:facet name="header">
       <h:outputText value="Class"/>
       </f:facet>
       <h:outputText value="#{per.classNo}"/>
       </rich:column>
      
       <rich:column sortable="true" sortBy="per.userType" filterBy="per.userType" filterEvent="onkeyup" width="100">
       <f:facet name="header">
       <h:outputText value="Type"/>
       </f:facet>
       <h:outputText value="#{per.type}"/>
       </rich:column>
       </rich:extendedDataTable>
       </h:panelGrid>
       </h:form>
      


      It's displayed just like a normal datatable.The input part like the first row in the online demo disappered.
      What's the reason?Please help me.Thank you!