Repeating grid and repeating dynamic layouts
The Pega 7 UI Gallery provides repeating grid and repeating dynamic layouts. These layouts help in displaying content in a grid or in a dynamic section.
The following sections explain these layouts in more detail:
Repeating grid layouts
The repeating grid layout is useful for presenting linear content (such as a report), regardless of the screen size. Users must scroll to view the complete content.
A repeating grid typically contains a certain set of elements that are displayed repeatedly based on a condition or a rule.
An example of a repeating grid layout
Creating a page with a repeating grid layout
- Click and expand the application tree.
- Expand Section. and click
- Click to add a new section.
- On the Design tab, select expand Layout.
- Drag Layout to the design area.
- Select Grid as the layout type.
- Click the Gear icon to open the layout properties.
- Set the Source, Applies To, Report definition, and other properties, and then click .
Repeating dynamic layouts
The repeating dynamic layout is useful when you want to present content that is in nonlinear format. It automatically adjusts the layout elements with respect to the screen size. This layout helps developers when creating an interface for displaying data that can be viewed on a tablet, monitor, or smartphone.
An example of a repeating dynamic layout
Creating a page with a repeating dynamic layout
- Click and expand the application tree.
- Expand Section. and click
- Click Create to add a new section.
- On the Design tab, expand .
- Drag Layout to the design area.
- Select Repeating Layout as the layout type.
- Drag Section to the repeating dynamic layout.
- Click the Gear icon for the section and set the section source to any data source (page list or data page), and click .