This content has been archived and is no longer being maintained.

Table of Contents

Article

Pagination in repeating dynamic layouts

When using repeating dynamic layouts to present your data, you can control the way the items are displayed and how many items are displayed on the screen.

In Pega 7.2.2, you can configure the following pagination options:

  • Progressively load on user action (previously referred to as Progressive) – Renders a single screen of data and adds items when the user clicks a button.
  • Progressively load on scroll – Renders a single screen of data and adds items as the user scrolls.
  • None – Displays all data at once.

You can configure these options on the General tab of a repeating dynamic layout properties panel.

Pagination options of a repeating dynamic layout

Pagination options

Progressively load on user action

When you select this option, the system displays a single segment or page of data at a time.

This option works only when the underlying harness is not configured to use a client-side template UI. If the harness is configured to use a client-side template, the pagination format reverts to the None option.

When you reach the end of the page, click LOAD MORE to load the next set of data. Repeat this action to reach the end of the list.

You can customize the default LOAD MORE message by configuring the pyRDLPaginator section.

When you select this option, you can see the Page size (number of rows) option. Use this option to limit the number of items that are displayed.

Progressively load on scroll

When you use this option, the page is rendered quickly by displaying a limited set of results on the screen. Remaining items are loaded as needed, as the user scrolls down the screen. This option is recommended for mobile applications and for performance reasons.

Progressively load on scroll example

Progressively load on scroll

If the repeating dynamic layout height is not configured, use the harness scroll bar to load the next set of results.

This option works only when the underlying harness is configured to use a client-side template UI. If the harness is not configured to use a client-side template, the pagination format reverts to the Progressively load on user action option. For information about how to enable a client-side template UI, refer to the online help.

When the end of the data set is reached, the message NO MORE DATA is displayed. You can customize this message by configuring the pyRDLNoMoreData section.

When you select this option, you can see the Page size (number of rows) option. Use this option to limit the number of items displayed.

None

When you choose this option, all the results are displayed at the same time without any pagination. For performance reasons, this option is not recommended.

Tags:

Published September 29, 2016 — Updated November 29, 2016


100% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.