UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

20 lines (19 loc) 1.07 kB
import type { AgColumn } from '../entities/agColumn'; import type { RowNode } from '../entities/rowNode'; import type { IRowNode } from './iRowNode'; /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */ export interface IRowGroupingEditValueSvc { /** * Called when `groupRowEditable` is defined on the column. * Evaluates the `groupRowEditable` callback and checks whether the distribution * strategy suppresses the edit (e.g. `distribution: 'none'`). * Returns `true` if editable, `false` otherwise. */ isGroupCellEditable(rowNode: IRowNode, column: AgColumn): boolean; /** * Resolves and executes groupRowValueSetter for a group row edit. * Returns `undefined` if no groupRowValueSetter is configured (caller should use normal path). * Returns `true` if children were changed, `false` if not. */ setGroupDataValue(rowNode: RowNode, column: AgColumn, newValue: unknown, oldValue: unknown, eventSource: string | undefined, valueChanged: boolean): boolean | undefined; }