Following up on the heels of an older blog post where we demonstrated how to filter out parent entities in hierarchical data when there are no children, here is an example that demonstrates how to update the summary totals that reflect the filter criteria.

To do this, we simply need to implement our own Summary Calculator. (Which is the CustomSummaryCalculator), and in the summary calculator, we check to see if the item is being filtered out before adding it to the summary.


CJ.mxml (3.93 kb)

CustomSummaryOperation.as (3.33 kb)