# canEditCell

Determines edit permission from the row, column, current value, and app permissions.

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

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

## What does this API do?

Determines edit permission from the row, column, current value, and app permissions.

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

## Exact input and result types

```typescript
canEditCell: CanEditCellFn
```

| Item | Value |
| --- | --- |
| JavaScript name | canEditCell |
| HTML attribute | can-edit-cell |
| Default | undefined |
| Input type | CanEditCellFn |

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

## Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

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

## Read related types

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

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

## Feature explanations and examples

- [Cell access control](https://grid.syidax.com/docs/features/rbac.md) — Cell read and edit policies restrict visible and editable values according to user roles. Hiding a column is different from enforcing data access.
