CellContext
Runtime cell context used internally for compiled template execution.
Contains the minimal context needed to render a cell: the row data, cell value, field name, and column configuration.
Example
Section titled “Example”import type { CellContext, ColumnInternal } from '@toolbox-web/grid';
// Used internally by compiled templatesconst renderCell = (ctx: CellContext) => { return `<span title="${ctx.field}">${ctx.value}</span>`;};Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
row | T | |
value | unknown | |
field | string | |
column | ColumnInternal<T> |
See Also
Section titled “See Also”CellRenderContextfor public cell render contextEditorExecContextfor editor context with commit/cancel
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