ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
13 lines (12 loc) • 730 B
TypeScript
import type { AgColumn } from '../entities/agColumn';
import type { GridOptions } from '../entities/gridOptions';
import type { ColumnEventType } from '../events';
import type { PropertyChangedEvent, PropertyValueChangedEvent } from '../gridOptionsService';
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
export interface IAutoColService {
/** Generated auto-group columns. Flat-array — empty when no auto-cols are active. */
columns: AgColumn[];
/** Sync internal cols against current row-group state. */
refreshCols(source: ColumnEventType): AgColumn[] | null;
updateColumns(event: PropertyChangedEvent | PropertyValueChangedEvent<keyof GridOptions>): void;
}