# fillHandleAxes

Allows horizontal, vertical, or bidirectional filling.

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

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

## What does this API do?

Allows horizontal, vertical, or bidirectional filling.

API for Pro features: Fill handle

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

## Exact input and result types

```typescript
fillHandleAxes: 'both' | 'x' | 'y'
```

| Item | Value |
| --- | --- |
| JavaScript name | fillHandleAxes |
| HTML attribute | fill-handle-axes |
| Default | undefined |
| Input type | 'both' \| 'x' \| 'y' |

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

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the fill-handle-axes 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.
