English
@eightkk/vue-weave / core / buildTreeGridPaste
Function: buildTreeGridPaste()
buildTreeGridPaste(
index,flat,range,text,options?):TreeGridSheetBuild
Defined in: src/core/treeGrid.ts:811
The edits of pasting tab-separated text with its first cell at the range's top-left cell. A single pasted value fills the whole range. Status lines are skipped (the paste continues on the next row line) and cells that cannot be edited (isTreeGridCellEditable) keep their value. Every value is parsed by its column's editor: an invalid one fails the whole batch (invalid); a paste that reaches past the last line or column, or holds more than maxCells cells (default 10,000), fails with too-large. Unchanged cells are left out.
Parameters
index
TreeGridIndex<any>
flat
TreeGridLines<any>
range
text
string
options?
maxCells?
number
source?
"pointer" | "keyboard"