ag-grid-enterprise
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
35 lines (34 loc) • 1.27 kB
TypeScript
import type { RefreshModelParams } from 'ag-grid-community';
import { BeanStub, RowNode } from 'ag-grid-community';
import type { IRowGroupingStrategy } from '../../rowHierarchy/rowHierarchyUtils';
export declare class GroupStrategy extends BeanStub implements IRowGroupingStrategy {
private readonly groupCols;
readonly nonLeafsById: Map<string, RowNode<any>>;
private checkGroupCols;
private pivotMode;
private groupEmpty;
invalidateGroupCols(): void;
destroy(): void;
clearNonLeafs(): void;
loadGroupData(node: RowNode): Record<string, any> | null;
execute(rootNode: RowNode, params: RefreshModelParams): void;
private positionLeafsAndGroups;
private initRefresh;
private handleDeltaUpdate;
private sortChildren;
private orderGroups;
private moveNodeInWrongPath;
private groupShouldBeRemoved;
private removeEmptyGroups;
private removeFromParent;
/**
* This is idempotent, but relies on the `key` field being the same throughout a RowNode's lifetime
*/
private addToParent;
private shotgunResetEverything;
private insertOneNode;
private createGroup;
private getChildrenMappedKey;
private setExpandedInitialValue;
onShowRowGroupColsSetChanged(): void;
}