API REFERENCE

columns

Compatibility input for column definitions. Prefer columnDefs in new configurations.

What does this API do?

Compatibility input for column definitions. Prefer columnDefs in new configurations.

Exact input and result types

typescript
columns: GridColumnDef[]
ItemValue
JavaScript namecolumns
HTML attributecolumns
Default[]
Input typeGridColumnDef[]

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