UNPKG

1 kBTypeScriptView Raw
1// Type definitions for ag-grid v18.1.2
2// Project: http://www.ag-grid.com/
3// Definitions by: Niall Crosby <https://github.com/ag-grid/>
4import { ColumnGroupChild } from "../entities/columnGroupChild";
5import { OriginalColumnGroupChild } from "../entities/originalColumnGroupChild";
6import { OriginalColumnGroup } from "../entities/originalColumnGroup";
7import { Column } from "../entities/column";
8export declare class ColumnUtils {
9 private gridOptionsWrapper;
10 calculateColInitialWidth(colDef: any): number;
11 getOriginalPathForColumn(column: Column, originalBalancedTree: OriginalColumnGroupChild[]): OriginalColumnGroup[];
12 depthFirstOriginalTreeSearch(tree: OriginalColumnGroupChild[], callback: (treeNode: OriginalColumnGroupChild) => void): void;
13 depthFirstAllColumnTreeSearch(tree: ColumnGroupChild[], callback: (treeNode: ColumnGroupChild) => void): void;
14 depthFirstDisplayedColumnTreeSearch(tree: ColumnGroupChild[], callback: (treeNode: ColumnGroupChild) => void): void;
15}