API REFERENCE
valueSetter
Custom logic for writing a converted value into the source row. Follow the return contract indicating whether a change occurred.
What does this API do?
Custom logic for writing a converted value into the source row. Follow the return contract indicating whether a change occurred.
Exact input and result types
valueSetter?: GridCallback<
[ValueSetterParams<TData, TValue, TContext>],
boolean | void
>| Item | Value |
|---|---|
| Required | Optional |
| Input type | GridCallback< [ValueSetterParams<TData, TValue, TContext>], boolean | void > |
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.
Read related types
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.