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.1. Hide Items in a Table<br />

The generated page looks as follows:<br />

Attention: The order of the rows in the table is determined by the Order By<br />

clause in the View Object. See section 3.3.5 - Determining the Order of<br />

Displayed Rows.<br />

The remainder of this section discusses the following topics that are related to table<br />

layouts:<br />

• Hide Items in a Table<br />

• Allowing the User to Sort Data in a Table Page<br />

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

• Adding Summary Information to a Table<br />

• Change Table-Related ADF Business Components Settings for performance<br />

tuning<br />

• Using Table Overflow<br />

With the Display in Table Layout? property, you can determine which items will be<br />

generated in the table. Values and meaning are the same as for the Display in Form<br />

Layout? property (see section 5.1.1 - Hide Items on the Form Page).<br />

So when you do not want an item to be generated in a table page but you do want to<br />

show that item in a form page, set Display in Table Layout? to false.<br />

5.3.2. Allowing the User to Sort Data in a Table Page<br />

It is possible to generate a feature where the user can do an online sort of the records<br />

queried in a table. The user can simply click on the column header and then the table<br />

content is sorted based on the values in this column. Clicking the same column header<br />

twice will switch the sort order from ascending to descending and vice versa.<br />

If this is required, then you must set the Column Sortable property on the item level to<br />

true, for those items you wish to be sortable.<br />

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

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

Saved successfully!

Ooh no, something went wrong!