@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
28 lines (27 loc) • 1.18 kB
TypeScript
import { AggregatedScalarExpressionEvaluation } from '../ExpressionFunctions/aggregatedScalarExpressionFunctions';
import { AdaptableApi } from '../../Api/AdaptableApi';
import { AdaptableModule as ModuleConstants } from '../../AdaptableState/Common/Types';
import { IRowNode } from 'ag-grid-enterprise';
import { XOR } from '../Extensions/TypeExtensions';
export declare class AggregatedScalarLiveValue {
private source;
private requestingModule;
private adaptableApi;
private getRowNodes?;
private aggregationReducerName;
private aggregatedScalarExpression;
private expressionEvaluation;
private aggregationResult;
constructor(source: XOR<{
aggregatedScalarExpression: string;
}, {
aggregatedScalarExpressionEvaluation: AggregatedScalarExpressionEvaluation;
}>, requestingModule: ModuleConstants, adaptableApi: AdaptableApi, getRowNodes?: () => IRowNode[]);
refresh(): void;
getAggregatedValueForRow(rowNode: IRowNode): any;
getAllAggregationValues(): number[];
private getAggregationValue;
getGlobalAggregatedValue(): any;
private getRowNodeValueForColumnId;
private computeAggregatedValue;
}