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
autoSizeOnDoubleClick: boolean| Item | Value |
|---|---|
| JavaScript name | autoSizeOnDoubleClick |
| HTML attribute | auto-size-on-double-click |
| Default | true |
| Input type | boolean |
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
- Column sizing and pinning
Width, order, pinning, and visibility are independent column states. Combine them to pin order IDs, hide supporting information, and widen long product names.