Skip to main content

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

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

Links may not function; however, this content may be relevant to outdated versions of the product.

Optimizing table code

Updated on April 5, 2022

Optimize the code of a table to improve the client-side performance and enable customization of a toolbar for that table.

Hierarchical table layouts are optimized by default. See Enabling additional hierarchical table settings.
Note: When you optimize the table code, some of the table configuration options are disabled. For example, if you use optimized tables, you cannot filter or sort columns with embedded sections, set a report definition as a data source, or use a custom category template. Because the availability of options also depends on other factors, such as the table context and other options that you select, see the Layout properties window to verify which options are available.
  1. In the Section form, click the table that you want to optimize, and then click the View properties icon.

  2. In the Layout properties window, for the Optimize code parameter, select the Allow check box.

  3. Click Submit.

  • Configuring the table toolbar

    Configure the toolbar so that application users can interact with the table at run time, set a personalized view, and save it. The toolbar also presents a summary of the operations, for example, it indicates that columns are grouped by fields.

  • Enabling grouping by fields

    Enable grouping by fields so that application users can change the display of data in a table to suit their needs. The users click the Group button on the toolbar to choose the fields they want to group by and they can arrange them in a sequence. They can also use the menu option in a column header.

  • Enabling the table columns visibility toggle

    Enable the table columns visibility toggle so that application users can hide or show table columns at run time.

  • Enabling row height adjustment for a table

    Enable row height adjustment, so that application users can choose the size of the table rows.

  • Enabling the refresh view button for a table

    Enable the Refresh option for a table so that users can reload the table data while retaining the personalization options that they applied, such as filtering or hiding the columns.

  • Adding custom actions to the table toolbar

    Add custom actions to the table toolbar so that the users can quickly access functions that they need and use frequently.

  • Upgrade considerations

    When you upgrade from a previous Pega Platform version you might need to adjust the design of some sections.

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