# copyCellAt

Copies the value at a displayed row and field and returns success.

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

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

## What does this API do?

Copies the value at a displayed row and field and returns success.

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

## Exact input and result types

```typescript
copyCellAt(rowIndex: number, field: string): Promise<boolean>
```

| Arguments | Required | Type |
| --- | --- | --- |
| rowIndex | Required | number |
| field | Required | string |

The return type is `Promise<boolean>`.

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

## Usage flow

After registering and initializing the Grid element, call grid.copyCellAt(…). 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 cells](https://grid.syidax.com/docs/features/single-cell-copy.md) — Copy one cell's display text to the system clipboard. Selected text inside a cell editor and a focused Grid cell are different copy targets.
