API REFERENCE
context
Passes shared app context to callbacks and the Grid API, such as app-managed permissions and services.
What does this API do?
Passes shared app context to callbacks and the Grid API, such as app-managed permissions and services.
Exact input and result types
context: unknown| Item | Value |
|---|---|
| JavaScript name | context |
| HTML attribute | context |
| Default | undefined |
| Input type | unknown |
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.
Feature explanations and examples
- Data and events
Grid APIs read or change the current state; events report the results of user interactions or data changes. Combine them to build save buttons, detail panels, and change histories.