Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
HOWTO: trigger a cell recalculation in igPivotGrid
posted

I have a custom aggregator function that I'm using to enhance the numbers shown based on outside data (not part of the dataSource).  The problem I'm having is the igPivotGrid caches the results of a given expansion level and won't call the aggregator function again if it thinks it already has the answer.

So basically, I'm trying to force the grid to recalculate all the visible cells.  I've tried the following:

1) collapse/expandTupleMember for everything that is open/closed

2) $('#pivotView').igPivotView("pivotGrid").updateGrid() apparently does nothing because it does not see any changes.  (Is there a way to set a "dirty" flag?)

In both cases, it just pulls the cached aggregate data instead of running the aggregate functions again.  

 

Parents Reply Children