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
initialState: SyGridState| Item | Value |
|---|---|
| JavaScript name | initialState |
| HTML attribute | initial-state |
| Default | undefined |
| Input type | SyGridState |
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.