# Row Action

When you add a **List** component either as part of a [View](/pages/views.md) or a [Component](/components.md) on a [Blank Page](/pages/blank-pages.md) or [Record Page](/data-to-app.md#row-record-page) you can control what happens when you click on one of the records in that component.

This behaviour is controlled via the **Row Action** setting.

### The Default Row Action

By default, clicking on a record in the List component will open the first [Record Page](/data-to-app.md#row-record-page) visible to the current user, of that record type.

For example: If you click on a Project record, and there are multiple project views, by default you will be brought to the first view that is visible to you.

To revert back to this behaviour, change the Row Action value to **Default**

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

### Do nothing when the record is clicked

Sometimes it is important that the user stays on the page they're on when clicking on a record. To achieve this, change the Row Action value to **None**

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

### Open a new page

If you have multiple views but would like to make sure that only one [Record Page](/data-to-app.md#row-record-page) is used, you can specify a specific [View](/pages/views.md) as the row action value. Set the `Record Style`to **Page**

Note that if this page isn't visible to the user, it will revert to the behaviour described in [None](#do-nothing-when-the-record-is-clicked) where nothing will happen the record is clicked.

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

### Open the sidebar

If you want to display the contents of the record in a sidebar next to the view you currently have open you can set the `Record style`to **Sidebar**

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

When you click on the **sidebar** option you will then get set the width of the sidebar to **Medium** or **Large**


---

# Agent Instructions: 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:

```
GET https://guides.noloco.io/views/row-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
