UNPKG

1.13 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 { GridOptions } from "./entities/gridOptions";
5import { IFrameworkFactory } from "./interfaces/iFrameworkFactory";
6export interface GridParams {
7 globalEventListener?: Function;
8 $scope?: any;
9 $compile?: any;
10 quickFilterOnScope?: any;
11 frameworkFactory?: IFrameworkFactory;
12 seedBeanInstances?: {
13 [key: string]: any;
14 };
15}
16export declare class Grid {
17 private context;
18 private static enterpriseBeans;
19 private static frameworkBeans;
20 private static enterpriseComponents;
21 private static RowModelClasses;
22 static setEnterpriseBeans(enterpriseBeans: any[], rowModelClasses: any): void;
23 static setEnterpriseComponents(components: any[]): void;
24 static setFrameworkBeans(frameworkBeans: any[]): void;
25 constructor(eGridDiv: HTMLElement, gridOptions: GridOptions, params?: GridParams);
26 private setColumnsAndData();
27 private dispatchGridReadyEvent(gridOptions);
28 private getRowModelClass(gridOptions);
29 destroy(): void;
30}