API REFERENCE

initialState

Versioned view state applied once during initial Grid setup. Use setState for runtime restoration.

What does this API do?

Versioned view state applied once during initial Grid setup. Use setState for runtime restoration.

Exact input and result types

typescript
initialState: SyGridState
ItemValue
JavaScript nameinitialState
HTML attributeinitial-state
Defaultundefined
Input typeSyGridState

Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Read related types

Feature explanations and examples