This lesson will cover the following topics:

01 Getting Started

In this lesson, we look at table interactivity in action flows for power tables. We will focus on specific actions, such as allowing inline editing, expanding columns on the table, refreshing the table, and selecting rows. These actions can be triggered from any on-click action, condition, or page-level action.

We have created the following project:

project example

There is a text field for the Account Name and a drop-down list for the SLA. The button will create an account and push it to Salesforce. There is also a power table and an Allow Edit button. We will provide more information about the power table configuration later. The Allow Edit button is described below.

02 Allow Inline Edit

We configured the Allow Inline Edit on-click action on the button. This will allow users to edit fields in the table.

1. Click the Allow Edit button’s On Click Action icon.

button link icon

2. Click the + icon next to the Start node.

3. Under Element Interactivity, click the Table Interactivity option and the Next button.

on click action > add node

4. Use the drop-down list to select Allow Inline Edit. This will allow users to edit fields on the table.

5. Use the drop-down list to select the type. In this example, we selected the All table.

6. Use the drop-down list to select the element/s. We selected the Power Table/SLA option.

7. Click the Next button.

add node / table interactivity

8. Add a tag if necessary and click the Insert button.

9. Click the Apply button.

on click action

10. Save and preview the project.

When hovering over the contents in the SLA column, there is no Edit icon, and the fields cannot be edited. If you click the Allow Edit button, an Edit icon can be seen in the column.

edit icon in power table

Clicking the Edit icon opens a drop-down list, and you can select another SLA.

You can also do the following:
  • Disallow Inline Edit
  • Show Column
  • Hide Column
edi9t node dropdowns

03 Expand Columns

You can expand a column.

1. Select the power table and click the Gear icon to open the Settings screen.

2. Click the Edit Mapping button.

power table settings > content tab > edit mapping

The following parameters have been configured:

  • The Salesforce source is Account.
  • The condition is as follows: SLA is not empty.
  • Under the Account Name column, there is a subcomponent to show opportunities. The subcomponent was added by clicking the Kebab icon and selecting the Configure component option.
salesforce configuration > mapping > field kebab menu

  • An icon with an on-click action was configured.
salesforce configuration > configure on click action for icon

The On Click Action table interactivity was configured as follows:

  • Expand the Column action on the Power Table/Account Name column’s Current Row.
edit node configuration

3. Save and preview the project.

4. Click the icon next to an account name. These icons are standard when the subcomponent is configured. The opportunities on the Account are shown in the expanded column.

expand column in preview mode

You can also do the following:

  • Collapse Column
  • Allow Clear Column
  • Disallow Clear Column
edit node > actions drop down

The Allow Clear Column and Disallow Clear Column are used with Allow Bulk Update and Disallow Bulk Updates. Allow Bulk Updates only works if you have selected Allow Inline Editing.

Note: The Actions listed may only be available for specific configs added to your power table.

04 Refresh Table

This is the option to use if you add an account and want the power table to update with this new account automatically.

1. Click the On Click Action icon on the Create Account button.

button on click action

2. Add a Salesforce Create Account action.

3. On the Salesforce Action node, click the + icon next to the After Finish action and click the Table Interactivity option under Element Interactivity.

4. Click the Next button.

on click action > table interactivity

5. Use the drop-down option to select the Refresh Table action.

6. Use the drop-down option to select the Power Table element.

7. Click the Next button.

add node > table interactivity

8. Add a tag if necessary and click the Insert button.

9. Click the Apply button.

on click action screen

10. Save and preview the project.

11. Create a new contact and click the Create Account button.

12. Search for the Account Name. The account was created, and the power table was updated automatically.

preview project

05 Select Row

You can select a row with a condition.

1. Select the power table and click the Gear icon to open the Settings screen.

2. Click Interactivity and ensure the Allow Selection checkbox is checked.

power table settings > interactivity > allow selection

3. Click the Conditions option.

4. On the Conditions node, click the + icon next to Then and click Table Interactivity under Element Interactivity.

condition plus icon > add node > table interactivity

5. Use the drop-down option to select the Select Row action.

6. Use the drop-down option to select the Power Table element.

7. Click the Next button.

8. Add a tag if necessary and click the Insert button.

9. Click the Apply button.

set conditions screen

10. Double-click the Condition node and configure the rule:
  • Power Table/SLA equals Value Gold
11. Click the Next button.

12. Add a tag if necessary and click the Save button.

edit node > set condition

13. Save and preview the project.

The SLAs that are Gold have been selected automatically:

automatic selection

You can also do the following:
  • Select All
  • Clear Row Selection
  • Reset Table Selection
  • Set Background Color
  • Set Color
  • Show Row
  • Hide Row
Note: The Action selected depends on the configuration you have set up for your table.

edit node > action dropdown

06 Got Feedback?

Additional Resources