API REFERENCE

invalidEditMode

Selects allow to apply invalid values with errors, revert to restore previous values, or block to prevent commits.

What does this API do?

Selects allow to apply invalid values with errors, revert to restore previous values, or block to prevent commits.

Exact input and result types

typescript
invalidEditMode: 'allow' | 'revert' | 'block'
ItemValue
JavaScript nameinvalidEditMode
HTML attributeinvalid-edit-mode
Default'allow'
Input type'allow' | 'revert' | 'block'

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the invalid-edit-mode attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples