AutoFitColumn
Defines an entry for programmatic column auto-fit operations invoked through the Grid ref API.
Maps a column field name to an optional AutoFitMode that overrides the grid-level default for that column.
Props
The following table outlines the props for the AutoFitColumn:
| Name | Type | Default | Description |
|---|---|---|---|
| autoFit | null | Defines the auto-fit scope applied to the targeted column.
Overrides the grid-level | |
| field | string | '' | Specifies the field name of the column targeted for auto-fit. Identifies the column to measure against its rendered header and content cells. |