UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

16 lines (15 loc) 694 B
import { CustomCellSummaryOperation } from '../AdaptableState/Common/CellSummary'; import { AdaptableColumnContext, NumberFormatterOptions } from '../types'; /** * Options to provide custom Cell Summary Operations & Display Formats */ export interface CellSummaryOptions<TData = any> { /** * Custom Numeric Cell Summary Operations to add to set shipped by AdapTable */ customCellSummaryOperations?: CustomCellSummaryOperation<TData>[]; /** * Numeric format to use for summary value; a Format Column DisplayFormat will take precedence */ numericDisplayFormat?: NumberFormatterOptions | ((columnContext: AdaptableColumnContext) => NumberFormatterOptions); }