Skip to content

Methods

destroy

Source code

manualRowResize.destroy()

Destroys the plugin instance.

disablePlugin

Source code

manualRowResize.disablePlugin()

Disables the plugin functionality for this Handsontable instance.

enablePlugin

Source code

manualRowResize.enablePlugin()

Enables the plugin functionality for this Handsontable instance.

getLastDesiredRowHeight

Source code

manualRowResize.getLastDesiredRowHeight() ⇒ number

Returns the last desired row height set manually with the resize handle.

Returns: number - The last desired row height.

isEnabled

Source code

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

Source code

manualRowResize.loadManualRowHeights() ⇒ Array

Loads the previously saved sizes using the persistentState plugin (the Options#persistentState option has be enabled).

Emits: Hooks#event:persistentStateLoad

saveManualRowHeights

Source code

manualRowResize.saveManualRowHeights()

Saves the current sizes using the persistentState plugin (the Options#persistentState option has to be enabled).

Emits: Hooks#event:persistentStateSave

setManualSize

Source code

manualRowResize.setManualSize(row, height) ⇒ number

Sets the new height for specified row index.

ParamTypeDescription
rownumberVisual row index.
heightnumberRow height.

Returns: number - Returns new height.

updatePlugin

Source code

manualRowResize.updatePlugin()

Updates the plugin’s state.

This method is executed when updateSettings() is invoked with any of the following configuration options: