# clearCellRanges

Clears all cell selection ranges. Row selection is separate.

Canonical: https://grid.syidax.com/docs/methods/clearCellRanges/

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

## What does this API do?

Clears all cell selection ranges. Row selection is separate.

API for Pro features: Cell range selection

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

## Exact input and result types

```typescript
clearCellRanges(): Promise<void>
```

| Arguments | Required | Type |
| --- | --- | --- |

The return type is `Promise<void>`.

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

## Usage flow

After registering and initializing the Grid element, call grid.clearCellRanges(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

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

## Feature explanations and examples

- [Cell range selection](https://grid.syidax.com/docs/features/range-selection.md) — A cell range is a rectangle spanning rows and columns. It defines the scope for copying, pasting, filling, and chart creation; selecting it does not change values.
