> For the complete documentation index, see [llms.txt](https://docs.uibakery.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uibakery.io/reference/working-with-components/table/more-ways-to-use-the-component/select-multiple-rows-in-a-table.md).

# Bulk row update and delete

{% hint style="info" %}
For details about bulk editing in the table, refer to [this section](/reference/working-with-components/table/getting-started-with-the-component.md#bulk-editing).
{% endhint %}

## Bulk row update

Follow the instruction below to configure bulk table rows update:

1. Select the Table component and navigate to the *Row selection* section in the right side panel.
2. There, select the *Enable multiple rows selection* checkbox.

<figure><img src="/files/1HNqqmtAeFOveXIBsr9g" alt=""><figcaption></figcaption></figure>

3. Create a new **Condition** action step and specify the following code:\
   `return {{ui.table.selectedRows.data.length>0}};`
4. For the <mark style="color:$success;">**if**</mark> condition, add the *Update Row* action:
   1. In the Filters section, specify the identifier for updated records (we'll use *row\_number\_id*) - `row_number_id in {{ui.table.selectedRows.data.map(item => item.row_number_id)}}`.
   2. In the Configure row section, specify the parameter that will be updated (in our example, the record's *status* will change to *Active*).
   3. Select the *Bulk Update* checkbox.

<figure><img src="/files/qFHq4KpXWqTOiauxrAKf" alt=""><figcaption></figcaption></figure>

5. (Optional) For the <mark style="color:red;">**else**</mark> condition, you can configure an error notification.
6. As a *second* step, add the *Execute Action* step and select the action that loads your data to display the updated values in the table.
7. Add a toggle or button to the canvas and assign the bulk update action to its *On Change/On Click* trigger.

{% @arcade/embed flowId="eI9n4sDHYQ7XJJSlwCMj" url="<https://app.arcade.software/share/eI9n4sDHYQ7XJJSlwCMj>" %}

## Bulk row delete

The flow here is similar to that of the Bulk update one:

1. Repeat **steps 1-4(a)** from the [Bulk update instruction](#bulk-row-update) above.
2. For the <mark style="color:$success;">**if**</mark> condition, select the *Bulk Delete* checkbox.
3. (Optional) For the <mark style="color:red;">**else**</mark> condition, you can configure an error notification.
4. As a *second* step, add the *Execute Action* step and select the action that loads your data to display the updated values in the table.
5. Add a button to the canvas and assign the bulk delete action to its *On Click* trigger.

{% @arcade/embed flowId="nqDQBBT8yKVTlfNMX8u1" url="<https://app.arcade.software/share/nqDQBBT8yKVTlfNMX8u1>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.uibakery.io/reference/working-with-components/table/more-ways-to-use-the-component/select-multiple-rows-in-a-table.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
