1 2 Previous Next 16 Replies Latest reply on Sep 26, 2008 11:18 AM by andrei vasile

    scrollableDataTable problem.

    inv3r53 d Novice

      Hi
      i tried to use scrollableDataTable to display as below:
      but the rendered output has extra column and doesnt display correct number of rows as specified in rows attribute.

      also how do i use the sort and pagination functionality?

      help much appreciated.

      <h:form>
      <rich:scrollableDataTable id="id_Table" height="500px" width="500px" rows="5" value="#{bean.myList}" var="row" >
      
      <rich:column id="id_Id">
      <f:facet name="header">
      <h:outputText value="ID" />
      </f:facet>
      <h:outputText value="#{row.id}" />
      </rich:column>
      
      <rich:column id="id_name">
      <f:facet name="header">
      <h:outputText value="Name" />
      </f:facet>
      <h:outputText value="#{row.name}" />
      </rich:column>
      
      </rich:scrollableDataTable>
      </h:form>
      



        1 2 Previous Next