Posted 10 January 2019, 12:58 pm EST
Is it possible to pivot the data of a wijmo pivot grid in javascript. I am currently slicing the pivot table via the pivot panel but is it possible to achieve the same thing with javascript. I would like to be able to calculate the pivots within code.
I know that I can use the filter and getAggregate, but this only returns single value and not a pivot grid.
data_filter = data.filter(data => data.ColumnName == 'ColumnValue')
wijmo.getAggregate(wijmo.Aggregate.Sum, data_filter, 'FieldName')
Do you have any example of how this can be achieved. Thanks
