UNPKG

@syncfusion/ej2-react-treegrid

Version:
33 lines (32 loc) 1.24 kB
import { ComplexBase } from '@syncfusion/ej2-react-base'; import { AggregateColumnModel } from '@syncfusion/ej2-treegrid'; export interface AggregateColumnDirTypecast { footerTemplate?: string | Function | any; } /** * `AggregateColumnDirective represent a aggregate column of the react TreeGrid. * ```tsx * <TreeGridComponent dataSource={data} allowPaging={true} allowSorting={true}> * <ColumnsDirective> * <ColumnDirective field='ID' width='100'></ColumnDirective> * <ColumnDirective field='name' headerText='Name' width='100'></ColumnDirective> * </ColumnsDirective> * <AggregatesDirective> * <AggregateDirective> * <AggregateColumnsDirective> * <AggregateColumnDirective field='ID' type='Min'></AggregateColumnsDirective> * </AggregateColumnsDirective> * </AggregateDirective> * </AggregatesDirective> * </TreeGridComponent> * ``` */ export declare class AggregateColumnDirective extends ComplexBase<AggregateColumnModel | AggregateColumnDirTypecast & { children?: React.ReactNode; }, AggregateColumnModel | AggregateColumnDirTypecast> { static moduleName: string; } export declare class AggregateColumnsDirective extends ComplexBase<{}, {}> { static propertyName: string; static moduleName: string; }