# maskedCellValue

Masking text displayed in place of restricted cells.

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

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

## What does this API do?

Masking text displayed in place of restricted cells.

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

## Exact input and result types

```typescript
maskedCellValue: string
```

| Item | Value |
| --- | --- |
| JavaScript name | maskedCellValue |
| HTML attribute | masked-cell-value |
| Default | '•••' |
| Input type | string |

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

## Usage flow

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