Custom lists of recent items
The out-of-the-box list of recent items is a read-only rule that you cannot modify. However, if you want to adjust the list to your business needs by changing its content, style, or the items that it displays, you can save the default section in your application ruleset and make your customizations there.
The out-of-the-box recent items list consists of the following section rules:
- pxRecent
- Displays the recent items list. Contains the pxRecentGrid table and the pxRecentGrid section.
- pxRecentGrid
- Defines the look of the recent items list. Contains the
pxRecentLabel section. The
pxRecentGrid rule uses a regular, non-optimized
table as the layout.
For more information about table configuration, see Creating a table layout without code optimization.
- pxRecentLabel
- Contains the label for the pxRecentGrid table layout.
You can copy any of the recent items sections into your ruleset, customize the section according to your business needs, and then substitute the default section for the custom section. You can use any combination of out-of-the-box and customized sections to embed the recent items list in your application.
For more information about using existing sections, see Creating an embedded section.
For more information about saving rules to your ruleset, see Copying a rule or data instance.
Previous topic Disabling the list of recent items Next topic Unit testing a section