StretchCalculator
Description
Initializes the stretch columns calculator with the Handsontable instance and registers the stretch widths index map.
Methods
getStretchedWidth
stretchCalculator.getStretchedWidth(columnVisualIndex) ⇒ number | null
Gets the calculated column width.
| Param | Type | Description |
|---|---|---|
| columnVisualIndex | number | Column visual index. |
refreshStretching
stretchCalculator.refreshStretching()
Recalculates the column widths.
useStrategy
stretchCalculator.useStrategy(strategyName)
Sets the active stretch strategy.
| Param | Type | Description |
|---|---|---|
| strategyName | 'all' 'last' 'none' | The stretch strategy to use. |