Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Custom lists of recent items

Updated on December 13, 2022

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:

Displays the recent items list. Contains the pxRecentGrid table and the pxRecentGrid section.
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.

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.

For example: You can create a copy of the pxRecentLabel rule and name that copy customLabel. You style the customLabel section, and then, in the pxRecentGrid section, you remove and substitute the reference to pxRecentLabel with customLabel. In this way, your out-of-the-box recent list item references a custom label, but remains otherwise unchanged, as shown in the following figure.
Substituting an out-of-the-box section
Cell properties windows for the section that holds the label for the recent items list. The source is set to customLabel.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us