Availability pagination

IBM® TRIRIGA® queries that are defined with the Reserve query type will display with an availability pagination in the query header when contained in a form query section on foundation applications. The availability pagination consists of a Check More link, which will check the availability of the next set of query results and will display only the results that are marked as available. The results displayed will correspond to the result size specified by the Show selector.

The availability pagination display includes a Checked value, an Available value, and a Total value. The Checked value displays the number results that have so far been checked as the user paginates. The Available value displays the number of checked results that are marked as available as the user paginates. The Total value indicates the number of total query results regardless of having been checked for availability. The Back link will take the user to the previous set of results, but the Checked and Available values will remain as they have already been processed.

The default value for the Show selector is configured on the Search Rooms Page Size field under the Reservations Settings tab on the Application Settings page (Tools > System Setup > General > Application Settings). If this value is not set or if this field does not exist in the application, then the default value for the Show selector is 20.
Figure 1. Availability pagination in a Reserve query section
Availability pagination in a Reserve query section
Form graphics sections will contain the corresponding availability pagination if they are defined in Form Builder with an Associated Query/Availability Section linked to a Reserve query section such as the one described above. All pagination actions will be synchronized between the two linked query sections.
Figure 2. Availability pagination in a linked graphics section
Availability pagination in a Reserve query section

A "tree grid" component combines the roles of a hierarchical data grid and a table, consisting of tabular information that is editable or interactive. The availability tree grid that displays on form availability sections has "lazy loaded" pagination, meaning that data will load in increments as users interact with the tree grid vertical scroll bar to move through the tree grid results. Data is loaded in increments configured by the Search Rooms Page Size field under the Reservations Settings tab on the Application Settings page (Tools > System Setup > General > Application Settings). If this value is not set or if this field does not exist in the application, then the default value for this lazy loaded incrementation is 25.

When using the pagination feature in the footer of the tree grid, increments of data will be loaded for the respective pagination action. Since data is lazy loaded, the results displayed can show the results from previous incrementations depending on the location of the tree grid vertical scroll bar. The incremented lazy loading of data happens behind the scenes of the tree grid, so the tree grid may display more or fewer results than the configured incrementation value.

If the availability tree grid is used in a Perceptive app, similar pagination functionality will occur.

Note: The pagination in form availability (tree grid) sections is independent of any other form sections. It will not synchronize with graphics sections which link to it with the Associated Query/Availability Section value.
Figure 3. Availability pagination in an availability (tree grid) section
Availability pagination in a Reserve query section