ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
22 lines (21 loc) • 884 B
TypeScript
import type { NamedBean } from '../context/bean';
import { BeanStub } from '../context/beanStub';
import type { AgColumn } from '../entities/agColumn';
import type { ColumnEventType } from '../events';
export declare class ColumnFlexService extends BeanStub implements NamedBean {
beanName: "colFlex";
/** The last centre width handed to the flex pass, recorded even when the pass then flexes nothing. */
flexViewportWidth: number;
columnsHidden: boolean;
refreshFlexedColumns(params?: {
resizingCols?: AgColumn[];
skipSetLeft?: boolean;
viewportWidth?: number;
source?: ColumnEventType;
fireResizedEvent?: boolean;
updateBodyWidths?: boolean;
}): AgColumn[];
private revealColumns;
initCol(column: AgColumn): void;
setColFlex(column: AgColumn, flex: number | null, source: ColumnEventType): void;
}