API REFERENCE

autoSizeOnDoubleClick

Autosizes a column to its content when its boundary is double-clicked.

What does this API do?

Autosizes a column to its content when its boundary is double-clicked.

Exact input and result types

typescript
autoSizeOnDoubleClick: boolean
ItemValue
JavaScript nameautoSizeOnDoubleClick
HTML attributeauto-size-on-double-click
Defaulttrue
Input typeboolean

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the auto-size-on-double-click attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples