Aggregates on the grid are super slow. For example:
I have 20 columns that all have sum aggregates and it takes 10 minutes to load 5,000 records.
If I remove the aggregates the list loads in under a second.
To test my theory, I put a counter in the _calculateaggregate function in the jqxgrid.aggregates script.
I loaded a list of 10 records (still with the 20 columns of sums)
The counter recorded 650 calls. ( 20 cols x 10 records is only 200.. why is this calculating more that 3 times? )
So my list of 5,000 records would calculate the aggregates 32,500 times? No wonder it won’t load. What is going on?
And why do the aggregates (calculate or update) on a scroll? No data has changed.
jqwidgets 5.5