Class: HiddenColumns

HiddenColumns

Plugin allowing to hide certain columns.

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 16

Members

hiddenColumnsBoolean Object

List of currently hidden columns

lastSelectedColumnNumber

Last selected column index.

Default Value:
  • -1

settingsnull Object

Cached plugin settings.

Methods

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 491

destroy()

Destroy the plugin.

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 103

disablePlugin()

Disable the plugin.

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 52

enablePlugin()

Enable the plugin.

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 195

getLogicalColumnIndex(column){Number}

Get the logical index of the provided column.

Parameters:
Name Type Description
column Number
Returns: {Number}
handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 133

hideColumn(column)

Hide a single column.

Parameters:
Name Type Description
column Number

Column index.

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 118

hideColumns(columns)

Hide the columns provided in the array.

Parameters:
Name Type Description
columns Array

Array of column indexes.

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 45

isEnabled(){Boolean}

Check if plugin is enabled.

Returns: {Boolean}
handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 167

isHidden(column){Boolean}

Check if the provided column is hidden.

Parameters:
Name Type Description
column Number

Column index.

Returns: {Boolean}
handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 206

onBeforeStretchingColumnWidth(width, column){Number}

Set width hidden columns on 0

Parameters:
Name Type Description
width Number

Column width.

column Number

Column index.

Returns: {Number}
handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 157

showColumn(column)

Show a single column.

Parameters:
Name Type Description
column Number

Column index.

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 142

showColumns(columns)

Show the provided columns.

Parameters:
Name Type Description
columns Array

Array of column indexes.

handsontable-pro/src/plugins/hiddenColumns/hiddenColumns.js, line 93

updatePlugin()

Updates the plugin to use the latest options you have specified.