1 Reply Latest reply on Feb 10, 2012 1:58 PM by Subramanian Meyyappan

    displaying  only few rows in adf table.


      I have added the adf table from view object, and i have added adf button or a link like this

      <af:table value="#{bindings.DeptView1.collectionModel}" var="row"
      > emptyText="#{bindings.DeptView1.viewable ? 'No data to display.' : 'Access Denied.'}"
      > fetchSize="#{bindings.DeptView1.rangeSize}"
      > rowBandingInterval="0"
      > filterModel="#{bindings.DeptView1Query.queryDescriptor}"
      > queryListener="#{bindings.DeptView1Query.processQuery}"
      > filterVisible="true" varStatus="vs" id="t1"
      > binding="#{ResetTableFilterBean1.depttable2}">
      > <af:column sortProperty="Dname" filterable="true" sortable="true"
      > headerText="#{bindings.DeptView1.hints.Dname.label}"
      > id="c2" filterFeatures="caseInsensitive">
      > <af:outputText value="#{row.Dname}" id="ot3"/>
      > </af:column>
      <af:commandLink text="commandLink 1" id="cl1"/>
      I need  only some 3-4 rows of the table to be displayed on the UI. when we click on the link I need remaining rows of the table to be displayed ,again by  clicking      the same link i should be able to get back to those 3-4 rows. main criteria is that UI should not look clumsy if there are  many rows are present in table.
      can i get help?

      Thank YOu.

      Edited by: chaya on Feb 10, 2012 10:44 AM