API REFERENCE
allowEmpty
Whether empty values are allowed while editing. Review together with required-value validation.
What does this API do?
Whether empty values are allowed while editing. Review together with required-value validation.
Exact input and result types
allowEmpty?: boolean| Item | Value |
|---|---|
| Required | Optional |
| Input type | boolean |
Usage flow
Set this on an individual column object in columnDefs. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Cell and row editing
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.