Links

Select multiple table rows

Select several rows in the table at once for batch operations

Batch update

For a bulk rows update, follow the steps below:
We assume that you already have a table with loaded data
  1. 1.
    Open the table's settings and find the Enable multiple rows selection check box. Activate it.
2. Add a Condition action. Specify the code: return {{ui.yourTable.selectedRows.data.length>0}};
3. For the true condition, add the next action step as Update Row. Configure the action in the following way:
  • On the Configure record fields to update tab, specify the parameter that will be updated. For the example, we will update status parameter by setting it to active.
  • On the Configure filter to update record(s) tab, specify the identifier for the updated records as id in {{ui.yourTable.selectedRows.data.map(item => item.id)}}
5. Tick the Bulk Update checkbox.
6. Assign an action that loads your data into the table to the On Success trigger.
7. Finally, add a toggle or a button and assign the newly added action that deletes the records to the button On Click/ On Change trigger.

Batch delete

To delete several rows at a time, follow these steps:
We assume that you already have a table with loaded data
  1. 1.
    Open the table's settings and find the Enable multiple rows selection check box. Activate it.
  2. 2.
    Add a Condition action. Specify the code: return {{ui.yourTable.selectedRows.data.length>0}};
3. For the true condition, add the next action step as Delete Row. Configure which records will be deleted, as id in {{ui.yourTable.selectedRows.data.map(item => item.id)}}.
5. Tick the Bulk Delete checkbox.
6. Assign an action that loads your data into the table to the On Success trigger.
7. Finally, add a button and assign the newly added action that deletes the records to the button On Click trigger.