NestedRows
Options
nestedRows
nestedRows.nestedRows : boolean
The nestedRows option configures the NestedRows plugin.
You can set the nestedRows option to one of the following:
| Setting | Description |
|---|---|
false (default) | Disable the NestedRows plugin |
true | Enable the NestedRows plugin |
Read more:
This option can only be set at the grid level.
It has no effect when set in the columns, cells, or cell options.
Default: false
Example
// enable the `NestedRows` pluginnestedRows: true,Members
PLUGIN_KEY
NestedRows.PLUGIN_KEY
Returns the plugin key used to identify and access this plugin within Handsontable.
PLUGIN_PRIORITY
NestedRows.PLUGIN_PRIORITY
Returns the priority value that determines the plugin’s initialization order relative to other plugins.
Methods
destroy
nestedRows.destroy()
Destroys the plugin instance.
disablePlugin
nestedRows.disablePlugin()
Disables the plugin functionality for this Handsontable instance.
enablePlugin
nestedRows.enablePlugin()
Enables the plugin functionality for this Handsontable instance.
isEnabled
nestedRows.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 NestedRows#enablePlugin method is called.
updatePlugin
nestedRows.updatePlugin()
Updates the plugin’s state.
This method is executed when updateSettings() is invoked with any of the following configuration options: