API REFERENCE

valueParser

Converts input text to the stored type, for example by normalizing numbers or dates.

What does this API do?

Converts input text to the stored type, for example by normalizing numbers or dates.

Exact input and result types

typescript
valueParser?: GridCallback<[ValueParserParams<TData, TValue, TContext>], TValue>
ItemValue
RequiredOptional
Input typeGridCallback<[ValueParserParams<TData, TValue, TContext>], TValue>

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