# Row Action

When you add a **List** component either as part of a [View](https://guides.noloco.io/pages/views) or a [Component](https://guides.noloco.io/components) on a [Blank Page](https://guides.noloco.io/pages/blank-pages) or [Record Page](https://guides.noloco.io/data-to-app#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](https://guides.noloco.io/data-to-app#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="https://319575345-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifpIQWu0HCVYAt51oT%2Fuploads%2Fgit-blob-d9ef15b664ed8e73aa7f3fa013a513c1abeb69eb%2Frow_actions_default.png?alt=media" 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="https://319575345-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifpIQWu0HCVYAt51oT%2Fuploads%2Fgit-blob-5cfd07d811070e2d0736801890892da342809055%2Frow_actions_none.png?alt=media" alt=""><figcaption></figcaption></figure>

### Open a new page

If you have multiple views but would like to make sure that only one [Record Page](https://guides.noloco.io/data-to-app#row-record-page) is used, you can specify a specific [View](https://guides.noloco.io/pages/views) 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="https://319575345-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifpIQWu0HCVYAt51oT%2Fuploads%2Fgit-blob-4cae9fda70ff2feea2391494fd5694cd7711ade5%2Frow_actions_page.png?alt=media" 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="https://319575345-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifpIQWu0HCVYAt51oT%2Fuploads%2Fgit-blob-97f04e7f3801c047c5fc5a1f1c202410ccf3569c%2Frow_actions_sidebar.png?alt=media" 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**
