@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
27 lines (26 loc) • 1.35 kB
TypeScript
import { ViewPanelProps } from '../Components/SharedProps/ViewPanelProps';
import * as React from 'react';
import { SummaryOperation } from '../../AdaptableState/Common/Enums';
import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
import { SelectedCellInfo } from '../../AdaptableState/Selection/SelectedCellInfo';
export interface CellSummaryViewPanelComponentProps extends ViewPanelProps {
SelectedCellInfo: SelectedCellInfo;
CellSummaryOperation: SummaryOperation | string;
onCellSummaryOperationChange: (summaryOperation: SummaryOperation | string) => InternalRedux.CellSummaryChangeOperationAction;
onCreateCellSummary: () => InternalRedux.CreateCellSummaryInfoAction;
CellSummary: CellSummmaryInfo;
}
declare class CellSummaryViewPanelComponent extends React.Component<CellSummaryViewPanelComponentProps, {}> {
private cleanupEvent?;
constructor(props: CellSummaryViewPanelComponentProps);
componentDidMount(): void;
componentWillUnmount(): void;
render(): React.JSX.Element;
private checkSelectedCells;
private getOperationValue;
}
export declare let CellSummaryViewPanelControl: import("react-redux").ConnectedComponent<typeof CellSummaryViewPanelComponent, {
[x: string]: any;
}>;
export {};