Skip to content

@eightkk/vue-weave / core / buildTreeGridFill

Function: buildTreeGridFill() ​

buildTreeGridFill(index, flat, range, options?): TreeGridSheetBuild

Defined in: src/core/treeGrid.ts:875

The edits of filling a range downwards: the lines of source (its rows, repeated in order) are copied into the following row lines of range that source does not cover; status lines and cells that cannot be edited are skipped. Without a separate source, the first row line of the range fills the others (Ctrl+D). A fill of more than maxCells cells (default 10,000) fails with too-large.

Parameters ​

index ​

TreeGridIndex<any>

flat ​

TreeGridLines<any>

range ​

TreeGridRange

options? ​

maxCells? ​

number

origin? ​

"pointer" | "keyboard"

source? ​

TreeGridRange

Returns ​

TreeGridSheetBuild

Released under the MIT License.