grid.d.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import { GridOptions } from "./entities/gridOptions";
  2. import { Logger } from "./logger";
  3. import { IFrameworkOverrides } from "./interfaces/iFrameworkOverrides";
  4. import { Module } from "./interfaces/iModule";
  5. import { Component } from "./widgets/component";
  6. export interface GridParams {
  7. globalEventListener?: Function;
  8. $scope?: any;
  9. $compile?: any;
  10. quickFilterOnScope?: any;
  11. frameworkOverrides?: IFrameworkOverrides;
  12. providedBeanInstances?: {
  13. [key: string]: any;
  14. };
  15. modules?: Module[];
  16. rootComponent?: {
  17. new (): Component;
  18. };
  19. }
  20. export declare class Grid {
  21. private context;
  22. protected logger: Logger;
  23. private readonly gridOptions;
  24. constructor(eGridDiv: HTMLElement, gridOptions: GridOptions, params?: GridParams);
  25. private registerStackComponents;
  26. private getRegisteredModules;
  27. private registerModuleUserComponents;
  28. private createProvidedBeans;
  29. private createAgStackComponentsList;
  30. private createBeansList;
  31. private extractModuleEntity;
  32. private setColumnsAndData;
  33. private dispatchGridReadyEvent;
  34. private getRowModelClass;
  35. destroy(): void;
  36. }