Class: HiddenColumns

HiddenColumns

Plugin allowing to hide certain columns.

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

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 516

destroy()

Destroy the plugin.

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

disablePlugin()

Disable the plugin.

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

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 152

hideColumn(column)

Hide a single column.

Parameters:
Name Type Description
column Number

Column index.

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

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 47

isEnabled(){Boolean}

Check if plugin is enabled.

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

isHidden(column, isLogicIndex){Boolean}

Check if the provided column is hidden.

Parameters:
Name Type Description
column Number

Column index.

isLogicIndex Boolean

flag which determines type of 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 127

showColumn(column)

Show a single column.

Parameters:
Name Type Description
column Number

Column index.

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

showColumns(columns)

Show the provided columns.

Parameters:
Name Type Description
columns Array

Array of column indexes.

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

updatePlugin()

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