ag-grid-enterprise
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
13 lines (12 loc) • 1.07 kB
TypeScript
import type { GetGroupIncludeFooterParams, GridOptions, GridOptionsService, RowNode, WithoutGridCommon } from 'ag-grid-community';
export interface FlattenDetails {
hideOpenParents: boolean;
groupHideParentOfSingleChild: GridOptions['groupHideParentOfSingleChild'];
isGroupMultiAutoColumn: boolean;
grandTotalRow: 'top' | 'bottom' | undefined;
groupTotalRow: (params: WithoutGridCommon<GetGroupIncludeFooterParams<any, any>>) => 'top' | 'bottom' | undefined;
}
export declare function _getFlattenDetails(gos: GridOptionsService): FlattenDetails;
export declare function _isRemovedSingleChildrenGroup(details: FlattenDetails, rowNode: RowNode, isParent: boolean): boolean;
export declare function _isRemovedLowestSingleChildrenGroup(details: FlattenDetails, rowNode: RowNode, isParent: boolean): boolean | undefined;
export declare function _shouldRowBeRendered(details: FlattenDetails, rowNode: RowNode, isParent: boolean, skipLeafNodes: boolean, isRemovedSingleChildrenGroup: boolean, isRemovedLowestSingleChildrenGroup: boolean | undefined): boolean;