StretchColumns
Methods
destroy
stretchColumns.destroy()
Destroys the plugin instance.
disablePlugin
stretchColumns.disablePlugin()
Disables the plugin functionality for this Handsontable instance.
enablePlugin
stretchColumns.enablePlugin()
Enables the plugin functionality for this Handsontable instance.
getColumnWidth
stretchColumns.getColumnWidth(columnVisualIndex) ⇒ number | null
Gets the calculated column width based on the stretching strategy defined by Options#stretchH option.
| Param | Type | Description |
|---|---|---|
| columnVisualIndex | number | The visual index of the column. |
isEnabled
stretchColumns.isEnabled() ⇒ boolean
Checks if the plugin is enabled in the handsontable settings. This method is executed in Hooks#beforeInit
hook and if it returns true then the #enablePlugin method is called.
updatePlugin
stretchColumns.updatePlugin()
Updates the plugin’s state. This method is executed when Core#updateSettings is invoked.