Interface IDataProviderOptions

interface IDataProviderOptions {
    aggregationStrategy: IAggregationStrategy;
    colorMappingFunctionTypes: {
        [colorMappingFunctionType: string]: IColorMappingFunctionConstructor;
    };
    columnTypes: {
        [columnType: string]: IColumnConstructor;
    };
    mappingFunctionTypes: {
        [mappingFunctionType: string]: IMappingFunctionConstructor;
    };
    propagateAggregationState: boolean;
    showTopN: number;
    singleSelection: boolean;
}

Properties

aggregationStrategy: IAggregationStrategy

aggregation strategy to show upon grouping, see also showTopN

Default

'item'
colorMappingFunctionTypes: {
    [colorMappingFunctionType: string]: IColorMappingFunctionConstructor;
}

Type declaration

columnTypes: {
    [columnType: string]: IColumnConstructor;
}

Type declaration

mappingFunctionTypes: {
    [mappingFunctionType: string]: IMappingFunctionConstructor;
}

Type declaration

propagateAggregationState: boolean

whether to propagate a collapse operation to its children

Default

true
showTopN: number

show top N rows as sample rows

Default

10
singleSelection: boolean

allow just single selected rows @default: false