UNPKG

ag-grid-enterprise

Version:

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

18 lines (17 loc) 941 B
import type { AgColumn, IPivotColsService, NamedBean } from 'ag-grid-community'; import { OrderedColsService } from '../columns/orderedColsService'; export declare class PivotColsSvc extends OrderedColsService implements NamedBean, IPivotColsService { beanName: "pivotColsSvc"; protected eventName: "columnPivotChanged"; protected enableProp: "pivot"; protected indexProp: "pivotIndex"; protected initialEnableProp: "initialPivot"; protected initialIndexProp: "initialPivotIndex"; /** True if any active pivot col has a `pivotComparator`; cached so {@link isStrictColumnOrder} stays O(1). */ private hasPivotComparator; postConstruct(): void; protected setActiveFlag(col: AgColumn, active: boolean): boolean; /** Stamps each active pivot col's position (`pivotActiveIndex`) and refreshes {@link hasPivotComparator}. */ protected onColumnsChanged(): void; isStrictColumnOrder(): boolean; }