Skip to content
Sheetwrite

Sheetwrite / Documentation

SheetwriteGridEmits@sheetwrite/vue

Event payloads emitted by the Vue components, keyed by template event name.

Event payloads emitted by the Vue components, keyed by template event name.

Members 15

row-delta Projected host-row changes.
"row-delta": Parameters<RowBridgeHandler<Id>>[0];
grid-change Committed Grid change, including its applied transaction.
"grid-change": ChangeEvent;
selection-change Current selection, or null after it is cleared.
"selection-change": Selection | null;
viewport-change Visible row bounds and vertical scroll offset after scrolling.
"viewport-change": GridEvents["scroll"];
edit-begin Cell editing began.
"edit-begin": GridEvents["edit-begin"];
edit-commit An edit committed its parsed cell value.
"edit-commit": GridEvents["edit-commit"];
command-state-change Command availability or formatting activity changed.
"command-state-change": GridEvents["command-state-change"];
active-sheet-change The visible sheet changed.
"active-sheet-change": GridEvents["active-sheet"];
mutation-rejected A Grid mutation was rejected.
"mutation-rejected": GridEvents["mutation-rejected"];
renderer-fallback Worker rendering fell back to the main-thread canvas renderer.
"renderer-fallback": GridEvents["renderer-fallback"];
datasource-error A datasource request failed.
"datasource-error": GridEvents["datasource-error"];
export-error A built-in XLSX export action failed.
"export-error": GridEvents["export-error"];
ready The adapter published a ready Grid generation.
ready: GridReadyEvent;
initialization-error WASM initialization failed while the component stayed mounted.
"initialization-error": SheetwriteError;

Declaration

View full TypeScript declaration
export interface SheetwriteGridEmits<Id extends RowBridgeId = RowBridgeId> {
"row-delta": Parameters<RowBridgeHandler<Id>>[0];
"grid-change": ChangeEvent;
"selection-change": Selection | null;
"viewport-change": GridEvents["scroll"];
"edit-begin": GridEvents["edit-begin"];
"edit-commit": GridEvents["edit-commit"];
search: GridEvents["search"];
"command-state-change": GridEvents["command-state-change"];
"active-sheet-change": GridEvents["active-sheet"];
"mutation-rejected": GridEvents["mutation-rejected"];
"renderer-fallback": GridEvents["renderer-fallback"];
"datasource-error": GridEvents["datasource-error"];
"export-error": GridEvents["export-error"];
ready: GridReadyEvent;
"initialization-error": SheetwriteError;
}