Skip to main content


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

Adding tables to views

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Help users access and compare data by setting up a form with a table. Tables are a basic component that you can use to create a clear interface in information-heavy contexts.

For example, tables that display the status of open cases can help managers quickly assess how a project is progressing.
Note: The following procedure applies to Theme Cosmos applications. For information about configuring views in Cosmos React applications, see Creating views in Cosmos React.
  1. In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.
  2. In the case working area, click the Views tab.
  3. Click Create new viewList view.
  4. In the View name field, provide the name under which the view appears on the view list.
  5. In the Data page field, select the list from which you want to source the table contents.
  6. In the Display name field, enter the text that appears in over the view in the UI, and then define how you want to present the data to the user:
    ChoicesActions
    TableIn the Template list, select Table.
    Tile-based gallery
    1. In the Template list, select Gallery.
    2. In the Card header list, select the field that you want to use as the header for your tile.
    3. In the Secondary text field, select the field that you want to use as the source of additional text on your tile.
  7. In the Columns section, add the columns that you want to include in your table by clicking Add, and then select the property that you want to associate with the column.
    The system sources columns from the current case type.
  8. In the Column to take up remaining width, define which column streches to fill free space in your table.
  9. Optional: To define what data is displayed in the table, set filters:
    1. In the Filter by list, select Custom, and then click the Properties icon.
    2. In the Condition Builder window, define the expression that you want to use to filter table contents.
    3. Optional: To build a complex filter with more than one expression, click the Add icon, and then define the additional expression.
      For example: To set up a filter that displays only cases resolved the day before, build an initial condition Case statusis equal toComplete, and a second condition Update time/dateis equal to1 day. Set the logical operator between the conditions to and.
  10. Define how the application sorts data in the table:
    1. In the Sort by list, add the property by which you want sort the list by clicking Add, and then selecting the field that you want to use as a filter.
    2. In the list that appears next to the property field, select the order in which you want to sort the table.
  11. Optional: To enable bulk processing of list items, select the Allow bulk actions checkbox.
    Tip: Bulk processing is available for tables on case pages and landing pages. The actions in the bulk action menu are case-wide actions.
  12. Optional: To define additional table behavior, select the checkboxes that represent specific personalization settings.
    For example: To give users the tools to hide table columns, select Allow user edit column visibility.
  13. Click Submit.

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.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us