Class: Autofill

Autofill

handsontable/src/plugins/autofill/autofill.js, line 51

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

handsontable/src/plugins/autofill/autofill.js, line 204

apply()

Apply fill values to the area in fill border, omitting the selection border

handsontable/src/plugins/autofill/autofill.js, line 301

checkIfNewRowNeeded()

Adds new rows if they are needed to continue auto-filling values

handsontable/src/plugins/autofill/autofill.js, line 159

disable()

Hide fill handle and fill border permanently

handsontable/src/plugins/autofill/autofill.js, line 149

init()

Create fill handle and fill border objects

handsontable/src/plugins/autofill/autofill.js, line 169

selectAdjacent()

Selects cells down to the last row in the left column, then fills down to that cell

handsontable/src/plugins/autofill/autofill.js, line 273

showBorder(coords)

Show fill border

Parameters:
Name Type Description
coords WalkontableCellCoords

WalkontableCellCoords coord object.