ListGridFieldSummary

I create a ListGridFieldSummary but it is hidden initially. When I show it, the recordSummary does not get computed. As soon as I change a value, it recomputes.

Two questions:

  1. Shouldn’t the summary field call the compute method when it becomes visible

  2. Is there a method to programmatically recompute the function? I tried setRecordSummaryFunction but that didn’t make any change either.

Thanks for the report:

  1. This is fixed now in the main codebase and will be in future nightlies

  2. In the same nightlies, grid.recalculateSummaries() has been extended to also force computation of recordSummaryFunctions