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.
In the Section form, click the table that you want to optimize, and then click the View properties icon.
In the Layout properties window, for the Optimize code parameter, select the Allow check box.
- 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.