React Data Grid Autofill

Description

This plugin provides "drag-down" and "copy-down" functionalities, both operated using the small square in the right bottom of the cell selection.

"Drag-down" expands the value of the selected cells to the neighbouring cells when you drag the small square in the corner.

"Copy-down" copies the value of the selection to all empty cells below when you double click the small square.

Methods

destroy

Source code (opens new window)

autofill.destroy()

Destroys the plugin instance.

disablePlugin

Source code (opens new window)

autofill.disablePlugin()

Disables the plugin functionality for this Handsontable instance.

enablePlugin

Source code (opens new window)

autofill.enablePlugin()

Enables the plugin functionality for this Handsontable instance.

isEnabled

Source code (opens new window)

autofill.isEnabled() ⇒ boolean

Checks if the plugin is enabled in the Handsontable settings.

updatePlugin

Source code (opens new window)

autofill.updatePlugin()

Updates the plugin's state.

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

Last update: Apr 3, 2024