QueryDefinition
Defines a query that a plugin can handle. Other plugins or the grid can send this query type to retrieve data.
Example
Section titled “Example”// In manifestqueries: [ { type: 'canMoveColumn', description: 'Check if a column can be moved/reordered', },]
// In plugin classhandleQuery(query: PluginQuery): unknown { if (query.type === 'canMoveColumn') { return this.canMoveColumn(query.context); }}Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
type | string | The query type identifier (e.g., ‘canMoveColumn’, ‘getContextMenuItems’). Should be unique across all plugins. |
description? | string | Human-readable description of what the query does. |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt