# rowSelection

Disables row selection or enables single/multiple selection. Independent of cell range selection.

Canonical: https://grid.syidax.com/docs/options/rowSelection/

<a id="meaning"></a>

## What does this API do?

Disables row selection or enables single/multiple selection. Independent of cell range selection.

<a id="contract"></a>

## Exact input and result types

```typescript
rowSelection: RowSelectionMode
```

| Item | Value |
| --- | --- |
| JavaScript name | rowSelection |
| HTML attribute | row-selection |
| Default | 'none' |
| Input type | RowSelectionMode |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the row-selection attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="types"></a>

## Read related types

- [RowSelectionMode](https://grid.syidax.com/docs/types/RowSelectionMode.md)

<a id="recipes"></a>

## Feature explanations and examples

- [Row selection](https://grid.syidax.com/docs/features/row-selection.md) — Row selection chooses targets for bulk actions such as approval, export, or assignment. Unlike cell range selection, it selects an entire order.
