PAGINATION

This element configures the LIST pagination options for the whole application. Individual lists can override the global settings.

Figure 1. Sample Pagination Configuration
<PAGINATION ENABLED="true">
            <DEFAULT_PAGE_SIZE>15</DEFAULT_PAGE_SIZE>
            <PAGINATION_THRESHOLD>15</PAGINATION_THRESHOLD>
          </PAGINATION>
Table 1. Pagination configuration options

Option Name

Required

Default

Description

ENABLED

No

true

Enables the ability to page through lists displayed in Cúram pages. Any LIST longer than the configured minimum size will display only the first "page" of data and the pagination controls will be displayed below the list.

DEFAULT_PAGE_SIZE

No

15

Specifies the page size the list will get by default. The page size can be then changed at runtime by the user.

PAGINATION_THRESHOLD

No

Based on the DEFAULT_PAGE_SIZE value.

Specifies the minimum list size at which pagination will be enabled. For shorter lists there will be no pagination, even if otherwise pagination is switched on.