Skip to Content
author's profile photo Former Member
Former Member

More entries per page

Hi,

On a table I have 2 entries per page (2 entries on page 1/3, and so on).

Could you have more entries per page? And how you configure it?

KR

Steven

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 23, 2005 at 05:01 PM

    Are you using "TableView"? If so then change the value for the property "visibleRowCount" to number of records you want to appear per page.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Steven,

      Check out the following ex

      <b>visibleRowCount="<%=myBeanName.getVisibleRowCount() %>"</b>

      or

      <b>visibleRowCount="5"</b>

          <hbj:tableView
                     id="myTableView"
                     model="myBeanName.model"
                     design="<%=myBeanName.getDesign() %>"
                     headerVisible="<%=myBeanName.isHeaderVisible() %>"
                     footerVisible="<%=myBeanName.isFooterVisible() %>"
                     fillUpEmptyRows="<%=myBeanName.isFillUpEmptyRows() %>"
                     navigationMode="<%=myBeanName.getNavigationMode() %>"
                     selectionMode="<%=myBeanName.getSelectionMode() %>"
                     headerText="<%=myBeanName.getHeaderText() %>"
                     visibleFirstRow="<%=myBeanName.getVisibleFirstRow() %>"
                     <b>visibleRowCount="<%=myBeanName.getVisibleRowCount() %>"</b>
                     rowCount="<%=myBeanName.getRowCount() %>"
                     width="<%=myBeanName.getTableWidth() %>"
                     onNavigate="myOnNavigate">
                     <% myTableView.setOnHeaderClick("myOnHeaderClick");
                        myTableView.setOnCellClick(1,"myOnCellClick");
                        myTableView.useRowSelection(myBeanName.getOldTableView());
                        myTableView.setOnRowSelection("myOnRowSelection"); %>
          </hbj:tableView>
      
      

      The above is the example I copied from the "Java Developer" role "Examples". For further details you can check the documentation there

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.