Skip to content
Sheetwrite

@sheetwrite/queries

queriesAddonfunction

Report a problem

On this page

The queries add-on. Each grid with a fetchSource, from options or from createGrid(host, { addons: { queries: { ... } } }), gets a query session: its Get Data, Refresh All and Queries & Connections commands, bound to the host's fetchSource. The engine and its WASM load in the background when such a grid is created; pages without the add-on load no query code. Get the session with querySessionOf(grid).

Declaration

function queriesAddon(

Parameters

options?: QueriesAddonOptionsoptional

Options of the queries add-on, at init or for one grid.

Returns

The add-on, for the addons list of initSheetwrite.