ManualRowResize
Description
Initializes the plugin and applies CSS classes to the resize handle and guide elements.
Members
PLUGIN_KEY
ManualRowResize.PLUGIN_KEY
Returns the plugin key used to identify this plugin in Handsontable settings.
PLUGIN_PRIORITY
ManualRowResize.PLUGIN_PRIORITY
Returns the priority order used to determine the order in which plugins are initialized.
Methods
destroy
manualRowResize.destroy()
Destroys the plugin instance.
disablePlugin
manualRowResize.disablePlugin()
Disables the plugin functionality for this Handsontable instance.
enablePlugin
manualRowResize.enablePlugin()
Enables the plugin functionality for this Handsontable instance.
getLastDesiredRowHeight
manualRowResize.getLastDesiredRowHeight() ⇒ number
Returns the last desired row height set manually with the resize handle.
Returns: number - The last desired row height.
isEnabled
manualRowResize.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 ManualRowResize#enablePlugin method is called.
loadManualRowHeights Deprecated
manualRowResize.loadManualRowHeights() ⇒ Array
Deprecated. The `PersistentState` plugin has been removed. This method is a no-op and will be removed in a future major release.saveManualRowHeights Deprecated
manualRowResize.saveManualRowHeights()
Deprecated. The `PersistentState` plugin has been removed. This method is a no-op and will be removed in a future major release.setManualSize
manualRowResize.setManualSize(row, height) ⇒ number
Sets the new height for specified row index.
| Param | Type | Description |
|---|---|---|
| row | number | Visual row index. |
| height | number | Row height. |
Returns: number - Returns new height.
updatePlugin
manualRowResize.updatePlugin()
Updates the plugin’s state.
This method is executed when updateSettings() is invoked with any of the following configuration options: