Class: ManualColumnFreeze

ManualColumnFreeze

This plugin allows to manually "freeze" and "unfreeze" a column using an entry in the Context Menu or using API.
You can turn it on by setting a Options#manualColumnFreeze property to true.

Example
// Enables the plugin
manualColumnFreeze: true,

Methods

destroy()

Destroys the plugin instance.

disablePlugin()

Disables the plugin functionality for this Handsontable instance.

enablePlugin()

Enables the plugin functionality for this Handsontable instance.

freezeColumn(column)

Freezes the given column (add it to fixed columns).

Parameters:
Name Type Description
column Number

Visual column index.

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 than the ManualColumnFreeze#enablePlugin method is called.

Returns: {Boolean}

unfreezeColumn(column)

Unfreezes the given column (remove it from fixed columns and bring to it's previous position).

Parameters:
Name Type Description
column Number

Visual column index.

updatePlugin()

Updates the plugin state. This method is executed when Core#updateSettings is invoked.