14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.3.3. Limiting the Number of Rows on a Table Page<br />

By default, the Table and Table-Form layouts will display all existing rows in the table.<br />

For large tables, this might be undesirable. You can limit the number of rows to be<br />

displayed at once, and generate a dropdown list to navigate to another range of rows<br />

within the table together with 'next' and 'previous' hyperlinks:<br />

1. Check the Use Table Range? property for the group in the Application<br />

Definition editor.<br />

2. Set the Table range size property to the number of rows you want to display at<br />

once.<br />

The above example shows the Countries group with the Use Table Range? property set<br />

to true, and the Table range size set to 6. You can now see that a dropdown list has been<br />

generated to select other sets with records, and Previous and Next hyperlinks to navigate<br />

to the next or previous record set in the table.<br />

5.3.4. Adding Summary Information to a Table<br />

For numeric columns, you can add summary information in the table footer. You can<br />

choose from 3 types:<br />

1. Sum<br />

2. Average<br />

3. Count<br />

The summary will be displayed in the table footer. The label of the table footer is by<br />

default Total, but you can change that in the Resource Bundle (see Chapter 11<br />

"Internationalization and Messaging").<br />

5 - 12 Generating Page Layouts <strong>JHeadstart</strong> Developer’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!