HiddenRows
Methods
destroy
hiddenRows.destroy()
Destroys the plugin instance.
disablePlugin
hiddenRows.disablePlugin()
Disables the plugin functionality for this Handsontable instance.
enablePlugin
hiddenRows.enablePlugin()
Enables the plugin functionality for this Handsontable instance.
getHiddenRows
hiddenRows.getHiddenRows() ⇒ Array<number>
Returns an array of visual indexes of hidden rows.
hideRow
hiddenRows.hideRow(…row)
Hides the row provided as row index (counting from 0).
| Param | Type | Description |
|---|---|---|
| …row | number | Visual row index. |
hideRows
hiddenRows.hideRows(rows)
Hides the rows provided in the array.
| Param | Type | Description |
|---|---|---|
| rows | Array<number> | Array of visual row indexes. |
isEnabled
hiddenRows.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 HiddenRows#enablePlugin method is called.
isHidden
hiddenRows.isHidden(row) ⇒ boolean
Checks if the provided row is hidden.
| Param | Type | Description |
|---|---|---|
| row | number | Visual row index. |
isValidConfig
hiddenRows.isValidConfig(hiddenRows) ⇒ boolean
Checks whether all of the provided row indexes are within the bounds of the table.
| Param | Type | Description |
|---|---|---|
| hiddenRows | Array | List of hidden visual row indexes. |
showRow
hiddenRows.showRow(…row)
Shows the row provided as row index (counting from 0).
| Param | Type | Description |
|---|---|---|
| …row | number | Visual row index. |
showRows
hiddenRows.showRows(rows)
Shows the rows provided in the array.
| Param | Type | Description |
|---|---|---|
| rows | Array<number> | Array of visual row indexes. |
updatePlugin
hiddenRows.updatePlugin()
Updates the plugin’s state.
This method is executed when updateSettings() is invoked with any of the following configuration options: