1 |
|
2 |
|
3 |
|
4 | import { Component } from "../../widgets/component";
|
5 | import { IComponent } from "../../interfaces/iComponent";
|
6 | import { ColumnGroup } from "../../entities/columnGroup";
|
7 | import { ColumnApi } from "../../columnController/columnApi";
|
8 | import { GridApi } from "../../gridApi";
|
9 | export interface IHeaderGroupParams {
|
10 | columnGroup: ColumnGroup;
|
11 | displayName: string;
|
12 | setExpanded: (expanded: boolean) => void;
|
13 | api: GridApi;
|
14 | columnApi: ColumnApi;
|
15 | context: any;
|
16 | }
|
17 | export interface IHeaderGroup {
|
18 | }
|
19 | export interface IHeaderGroupComp extends IHeaderGroup, IComponent<IHeaderGroupParams> {
|
20 | }
|
21 | export declare class HeaderGroupComp extends Component implements IHeaderGroupComp {
|
22 | private columnController;
|
23 | private gridOptionsWrapper;
|
24 | static TEMPLATE: string;
|
25 | private params;
|
26 | private eOpenIcon;
|
27 | private eCloseIcon;
|
28 | constructor();
|
29 | init(params: IHeaderGroupParams): void;
|
30 | private setupExpandIcons();
|
31 | private addTouchAndClickListeners(eElement, action);
|
32 | private updateIconVisibility();
|
33 | private addInIcon(iconName, refName);
|
34 | private addGroupExpandIcon();
|
35 | private setupLabel();
|
36 | }
|