# fillHandleMode

Chooses copying existing values or extending a sequence when filling.

Canonical: https://grid.syidax.com/docs/options/fillHandleMode/

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

## What does this API do?

Chooses copying existing values or extending a sequence when filling.

API for Pro features: Fill handle

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

## Exact input and result types

```typescript
fillHandleMode: 'copy' | 'series'
```

| Item | Value |
| --- | --- |
| JavaScript name | fillHandleMode |
| HTML attribute | fill-handle-mode |
| Default | undefined |
| Input type | 'copy' \| 'series' |

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

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the fill-handle-mode attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<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.
