@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
6 lines (5 loc) • 736 B
TypeScript
import { DataChangeHistoryContext } from '../../AdaptableOptions/DataChangeHistoryOptions';
import { AdaptableApi, AdaptableButton, DataChangeHistoryOptions } from '../../types';
import { DataChangeHistoryData } from './dataChangeHistoryHelpers';
export declare const buildDataChangeHistoryContext: (rowData: DataChangeHistoryData, parentAdapTableApi: AdaptableApi, onUndoChange: (changeKey: string) => void, onClearRow: (changeKey: string) => void) => DataChangeHistoryContext;
export declare const buildChangeHistoryButtons: (options: DataChangeHistoryOptions, parentAdapTableApi: AdaptableApi, onUndoChange: (changeKey: string) => void, onClearRow: (changeKey: string) => void) => AdaptableButton<DataChangeHistoryContext>[] | null;