Use the validator (see Options wiki page) method to easily validate synchronous or asynchronous changes to a cell. If you need more control, beforeValidate and afterValidate plugin hooks are available (see Events wiki page).

In the below example, email_validator_fn is an async validator that resolves after 1000 ms.

Use the allowInvalid option (see Options wiki page) to define if the grid should accept input that does not validate.

If you need to modify the input (e.g. censor bad words, uppercase first letter), use the plugin hook beforeChange (see Events wiki page).

Callback console: [[row, col, oldValue, newValue], ...]

Edit the above grid to see callback