React Data Grid NestedRows

Description

Plugin responsible for displaying and operating on data sources with nested structures.

Options

nestedRows

Source code (opens new window)

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:

Default: false
Example

// enable the `NestedRows` plugin
nestedRows: true,

Methods

destroy

Source code (opens new window)

nestedRows.destroy()

Destroys the plugin instance.

disableCoreAPIModifiers

Source code (opens new window)

nestedRows.disableCoreAPIModifiers()

Enable the modify hook skipping flag - allows retrieving the data from Handsontable without this plugin's modifications.

disablePlugin

Source code (opens new window)

nestedRows.disablePlugin()

Disables the plugin functionality for this Handsontable instance.

enableCoreAPIModifiers

Source code (opens new window)

nestedRows.enableCoreAPIModifiers()

Disable the modify hook skipping flag.

enablePlugin

Source code (opens new window)

nestedRows.enablePlugin()

Enables the plugin functionality for this Handsontable instance.

isEnabled

Source code (opens new window)

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

Source code (opens new window)

nestedRows.updatePlugin()

Updates the plugin's state.

This method is executed when updateSettings() is invoked with any of the following configuration options:

Last update: Dec 2, 2022