1 |
|
2 |
|
3 |
|
4 | import { ColumnGroupChild } from "./columnGroupChild";
|
5 | import { ColGroupDef } from "./colDef";
|
6 | import { Column } from "./column";
|
7 | import { AbstractColDef } from "./colDef";
|
8 | import { OriginalColumnGroup } from "./originalColumnGroup";
|
9 | import { GridOptionsWrapper } from "../gridOptionsWrapper";
|
10 | export declare class ColumnGroup implements ColumnGroupChild {
|
11 | static HEADER_GROUP_SHOW_OPEN: string;
|
12 | static HEADER_GROUP_SHOW_CLOSED: string;
|
13 | static EVENT_LEFT_CHANGED: string;
|
14 | static EVENT_DISPLAYED_CHILDREN_CHANGED: string;
|
15 | static createUniqueId(groupId: string, instanceId: number): string;
|
16 | gridOptionsWrapper: GridOptionsWrapper;
|
17 | private columnApi;
|
18 | private gridApi;
|
19 | private children;
|
20 | private displayedChildren;
|
21 | private groupId;
|
22 | private instanceId;
|
23 | private originalColumnGroup;
|
24 | private left;
|
25 | private oldLeft;
|
26 | private localEventService;
|
27 | private parent;
|
28 | constructor(originalColumnGroup: OriginalColumnGroup, groupId: string, instanceId: number);
|
29 | reset(): void;
|
30 | getParent(): ColumnGroup;
|
31 | setParent(parent: ColumnGroup): void;
|
32 | getUniqueId(): string;
|
33 | isEmptyGroup(): boolean;
|
34 | isMoving(): boolean;
|
35 | checkLeft(): void;
|
36 | getLeft(): number;
|
37 | getOldLeft(): number;
|
38 | setLeft(left: number): void;
|
39 | private createAgEvent(type);
|
40 | addEventListener(eventType: string, listener: Function): void;
|
41 | removeEventListener(eventType: string, listener: Function): void;
|
42 | getGroupId(): string;
|
43 | getInstanceId(): number;
|
44 | isChildInThisGroupDeepSearch(wantedChild: ColumnGroupChild): boolean;
|
45 | getActualWidth(): number;
|
46 | isResizable(): boolean;
|
47 | getMinWidth(): number;
|
48 | addChild(child: ColumnGroupChild): void;
|
49 | getDisplayedChildren(): ColumnGroupChild[];
|
50 | getLeafColumns(): Column[];
|
51 | getDisplayedLeafColumns(): Column[];
|
52 | getDefinition(): AbstractColDef;
|
53 | getColGroupDef(): ColGroupDef;
|
54 | isPadding(): boolean;
|
55 | isExpandable(): boolean;
|
56 | isExpanded(): boolean;
|
57 | setExpanded(expanded: boolean): void;
|
58 | private addDisplayedLeafColumns(leafColumns);
|
59 | private addLeafColumns(leafColumns);
|
60 | getChildren(): ColumnGroupChild[];
|
61 | getColumnGroupShow(): string;
|
62 | getOriginalColumnGroup(): OriginalColumnGroup;
|
63 | calculateDisplayedColumns(): void;
|
64 | }
|