# fillRange

Fills a target range from source values or patterns and reports applied and rejected results.

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

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

## What does this API do?

Fills a target range from source values or patterns and reports applied and rejected results.

API for Pro features: Fill handle

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

## Exact input and result types

```typescript
fillRange(options: SyGridFillRangeOptions): Promise<SyGridFillRangeReport>
```

| Arguments | Required | Type |
| --- | --- | --- |
| options | Required | SyGridFillRangeOptions |

The return type is `Promise<SyGridFillRangeReport>`.

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

## Usage flow

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

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

## Read related types

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

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

## Feature explanations and examples

- [Fill values](https://grid.syidax.com/docs/features/fill-handle.md) — The fill handle copies values or extends a pattern from a source range. Both the drag UI and fillRange API account for editability, validation, and history.
