# editType

Selects single-cell editing or editing multiple cells as one row operation.

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

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

## What does this API do?

Selects single-cell editing or editing multiple cells as one row operation.

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

## Exact input and result types

```typescript
editType: 'cell' | 'fullRow'
```

| Item | Value |
| --- | --- |
| JavaScript name | editType |
| HTML attribute | edit-type |
| Default | 'cell' |
| Input type | 'cell' \| 'fullRow' |

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

## Usage flow

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

- [Cell and row editing](https://grid.syidax.com/docs/features/cell-editing.md) — Cell editing changes one value immediately; full-row editing commits multiple fields as one row operation. editor specifies the input UI, while editable controls write access.
