cancel
Showing results for 
Search instead for 
Did you mean: 

More entries per page

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

You can find a screenshot here:

http://users.skynet.be/vsnet/screenshot.jpg

And where you have to change that property?

KR

Steven

Former Member
0 Kudos

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