UNPKG

ag-grid-community

Version:

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

21 lines (20 loc) • 1.28 kB
import type { BeanCollection } from '../../context/context'; import type { AgProvidedColumnGroup } from '../../entities/agProvidedColumnGroup'; import type { ColumnEventType } from '../../events'; interface ColGroupState { groupId: string; open: boolean; headerName?: string | null; } export declare const _getColGroupState: (beans: BeanCollection) => ColGroupState[]; export declare const _setColGroupOpen: (beans: BeanCollection, key: AgProvidedColumnGroup | string | null | undefined, newValue: boolean, source: ColumnEventType) => void; /** * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. * Sets (or with `null`, clears) a group's header name override and fires `headerNameChanged` on the grid's group. * Callers dispatch the grid-level `columnHeaderNameChanged` event, so a batch of renames can share one. * Returns whether the name changed. */ export declare const _setColGroupHeaderNameOverride: (beans: BeanCollection, groupId: string, headerName: string | null) => boolean; export declare const _setColGroupState: (beans: BeanCollection, stateItems: ColGroupState[], source: ColumnEventType) => void; export declare const _resetColGroupState: (beans: BeanCollection, source: ColumnEventType) => void; export {};