This page covers a next version of Handsontable, and is not published yet.

This page covers a non-latest version of Handsontable.

# 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.

# Members

# autoInsertRow

Source code (opens new window)

autofill.autoInsertRow : boolean

Specifies if can insert new rows if needed.

# 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 state. This method is executed when Core#updateSettings is invoked.

Last Updated: Apr 12, 2024