# copyRangeToClipboard

Copies the selected range and returns success. Check browser permissions and user activation requirements.

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

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

## What does this API do?

Copies the selected range and returns success. Check browser permissions and user activation requirements.

API for Pro features: Range copy / paste

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

## Exact input and result types

```typescript
copyRangeToClipboard(): Promise<boolean>
```

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

The return type is `Promise<boolean>`.

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

## Usage flow

After registering and initializing the Grid element, call grid.copyRangeToClipboard(…). 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

- [Copy and paste ranges](https://grid.syidax.com/docs/features/range-clipboard.md) — Copy values from a rectangular range and paste them in the same row and column arrangement. Targets are determined from the starting cell and remain subject to editability, permissions, and validation.
