SpreadJS Documentation
aggregateData Method
The column name.
The aggregate type.
The specific range. range.min: number type, the minimum value. range.max: number type, the maximum value.
Aggregates the data by the specified column name.
Syntax
var instance = new GcSpread.Slicer.GeneralSlicerData(data, columnNames);
var value; // Type: number
value = instance.aggregateData(columnName, aggregateType, range);
function aggregateData( 
   columnName : string,
   aggregateType : SlicerAggregateType,
   range : object
) : number;

Parameters

columnName
The column name.
aggregateType
The aggregate type.
range
The specific range. range.min: number type, the minimum value. range.max: number type, the maximum value.

Return Value

The aggregated data.
See Also

Reference

GeneralSlicerData type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.