API REFERENCE
defaultColDef
Defaults shared by all columns. Override individual values in columnDefs for specific columns.
What does this API do?
Defaults shared by all columns. Override individual values in columnDefs for specific columns.
Exact input and result types
defaultColDef: Partial<ColumnDef>| Item | Value |
|---|---|
| JavaScript name | defaultColDef |
| HTML attribute | default-col-def |
| Default | undefined |
| Input type | Partial<ColumnDef> |
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
- 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.