diff --git a/packages/PowerGrid/src/sparklines/sparklines-lines.ts b/packages/PowerGrid/src/sparklines/sparklines-lines.ts index 1d75c2c962..b5410bc482 100644 --- a/packages/PowerGrid/src/sparklines/sparklines-lines.ts +++ b/packages/PowerGrid/src/sparklines/sparklines-lines.ts @@ -188,4 +188,9 @@ export class SparklineCellRenderer extends DG.GridCellRenderer { return ui.inputs([normalizeInput, ...createBaseInputs(gridColumn, settings)]); } + + hasContextValue(gridCell: DG.GridCell): boolean { return true; } + async getContextValue (gridCell: DG.GridCell): Promise { + return DG.GridCellWidget.fromGridCell(gridCell).root; + } }