LinkedIn
Copied!

Table of Contents

Enabling the table columns visibility toggle

Version:

Only available versions of this content are shown in the dropdown

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

Optimize the table code. See Optimizing table code.
  1. In the Section form, click the table, and then click the View properties icon.

  2. On the Operations tab, in Grid operations section, select the Show/Hide columns check box.

  3. Optional:

    To configure the initial visibility:

    1. In the Section form, click a header of a column, and then click the View properties icon.

    2. Select an option for the Visibility on table (For column toggler) parameter.

    The configuration specified by the users at run time takes precedence over the design-time configuration.

  4. Click Submit.

  5. Click Save.

At run time, users click the Fields button on the table toolbar or click a column header to select the columns to show or hide.
Optionally, you can enable table personalization, so that the users can save their preferred view of a particular table. For more information, see Enabling table personalization.

  • 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 row height adjustment for a table

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

  • 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.

  • 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.

  • 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 Collaboration Center to ask questions, engage in discussions, share ideas, and help others.