API REFERENCE
colId
Stable column ID for APIs and state persistence. Keep it unchanged when headings change.
What does this API do?
Stable column ID for APIs and state persistence. Keep it unchanged when headings change.
Exact input and result types
colId?: string| Item | Value |
|---|---|
| Required | Optional |
| Input type | string |
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.
Feature explanations and examples
- Data updates
Replace rowData when receiving a complete query result. For partial changes, pass add, update, and remove to applyTransaction. Updates match through getRowId, not display positions.