API REFERENCE

width

Initial column width in pixels.

What does this API do?

Initial column width in pixels.

Exact input and result types

typescript
width?: number
ItemValue
RequiredOptional
Input typenumber

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