# Cell Selection

The [Angular Grid](https://www.telerik.com/kendo-angular-ui-develop/components/grid) provides the user with interaction options to apply:

<Row>
  <Column count={[24,24,12]} style={{marginBottom: "1rem"}}>
    <Component className="tile" href="#single-cell-selection">
      <ComponentTitle>Single Cell Selection</ComponentTitle>
      <ComponentDescription style={{padding: "0 10px 10px 10px"}}>Enable users to select one cell at a time using click or keyboard navigation.</ComponentDescription>
    </Component>
  </Column>
  <Column count={[24,24,12]} style={{marginBottom: "1rem"}}>
    <Component className="tile" href="#multiple-cells-selection">
      <ComponentTitle>Multiple Cells Selection</ComponentTitle>
      <ComponentDescription style={{padding: "0 10px 10px 10px"}}>Select multiple cells individually, in ranges, or with drag selection using keyboard modifiers.</ComponentDescription>
    </Component>
  </Column>
</Row>

The following example demonstrates the cell selection in action.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/grid/configuration/cell-selection/source.txt)

## Single Cell Selection

To select a cell in single selection mode, use one of the following actions:

* Click the cell.
* Press `Enter` on the cell (available only when [Keyboard Navigation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/keyboard-navigation) is enabled).

To deselect a cell in single selection mode, use one of the following actions:

* Press and hold `Ctrl/Cmd(MacOS)`, then click the selected cell.
* Press `Ctrl/Cmd(MacOS) + Enter` on the cell (available only when [Keyboard Navigation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/keyboard-navigation) is enabled).

> Clicking a selected cell will not deselect it.

The following example demonstrates how to select or deselect a single cell using the actions described above.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/grid/configuration/selection/single-cell/source.txt)

## Multiple Cells Selection

The following table summarizes the available actions for selecting multiple cells in the Grid:

| Action                           | Description                                                                                                      | Keyboard/Mouse Interaction                                                                                                                                                                                                                                                                                                                                                                                                        | Requirements                                                                                                                                                                                                                                                                                          |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Select multiple cells one by one | Select cells individually without affecting other selected cells.                                                | • Press and hold `Ctrl/Cmd(MacOS)`, and click the desired cells.<br>• Navigate using the arrow keys and press `Ctrl/Cmd(MacOS) + Enter` on the desired cells.                                                                                                                                                                                                                                                                     | Requires [Keyboard Navigation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/keyboard-navigation) for `Ctrl/Cmd(MacOS) + Enter`.                                                                                                                                                   |
| Select a range of cells          | Select a continuous range of cells by defining a start and end point. Any new selection resets the previous one. | • Click and drag the rectangular selection over the desired cells (only when drag selection is enabled).<br>• Press and hold `Shift` and click the cell you want to be the last in the range.<br>• Select a cell by pressing `Enter`, then navigate using the arrow keys and press `Shift + Enter` on the last cell in the range.                                                                                                 | Requires [Keyboard Navigation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/keyboard-navigation) for `Shift + Enter`.                                                                                                                                                             |
| Persist multiple ranges          | Select multiple ranges of cells without resetting previous selections.                                           | • Press and hold `Ctrl/Cmd(MacOS)` while clicking and dragging the rectangular selection.<br>• Select a cell, then press and hold `Shift` and click the last cell in the range. Press and hold `Ctrl/Cmd(MacOS)` and repeat for a new range.<br>• Press `Enter` to select a cell, navigate with arrow keys, and press `Shift + Enter` on the last cell in the range. Press and hold `Ctrl/Cmd(MacOS)` and repeat for a new range. | Requires [`multipleRanges`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/selectablesettings#multipleranges) to be set to `true`.<br>Requires [Keyboard Navigation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/keyboard-navigation) for `Shift + Enter`. |
| Deselect a cell                  | Remove a specific cell from the selection.                                                                       | • Press and hold `Ctrl/Cmd(MacOS)`, then click the specific cell.<br>• Press `Ctrl/Cmd(MacOS) + Enter` to deselect the active cell.                                                                                                                                                                                                                                                                                               | Requires [Keyboard Navigation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/keyboard-navigation) for `Ctrl/Cmd(MacOS) + Enter`.                                                                                                                                                   |
| Leave only one cell selected     | Deselect all previously selected cells and keep only the current cell selected.                                  | • Click a cell within the Grid.<br>• Press `Enter` to select the active cell.                                                                                                                                                                                                                                                                                                                                                     | Requires [Keyboard Navigation](https://www.telerik.com/kendo-angular-ui-develop/components/grid/keyboard-navigation) for `Enter`.                                                                                                                                                                     |

> caution The [Checkbox Column](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/checkboxcolumncomponent) should not be used in cell selection mode.

The following example demonstrates how to select and deselect multiple rows using the action described above.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/grid/configuration/selection/multiple-cell/source.txt)

## Suggested Links

* [SelectionDirective](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/selectiondirective#selectiondirective)
* [API Reference of the GridComponent](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/gridcomponent)
* [API Index of the Grid](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api)
