API REFERENCE
canReadCell
Synchronous permission callback determining whether a cell can be read. Use alongside server access control.
What does this API do?
Synchronous permission callback determining whether a cell can be read. Use alongside server access control.
Exact input and result types
canReadCell: CanReadCellFn| Item | Value |
|---|---|
| JavaScript name | canReadCell |
| HTML attribute | can-read-cell |
| Default | undefined |
| Input type | CanReadCellFn |
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.
Read related types
Feature explanations and examples
- Cell access control
Cell read and edit policies restrict visible and editable values according to user roles. Hiding a column is different from enforcing data access.