Optionally activate table summary with action
I have a table with multiple columns, one of which has a summary. Since the calculation of the values takes 3-4 seconds, I would like to display the summaries only optionally. For example, only after clicking on a page or table (header) action.
The only way I see to achieve this is via the hidden method of the summary (->summarize(Sum::make()->hidden(true))). So I tried it out (even without the Action Button), just to see how it would work: However, this only hides the summary values, but the request still takes 3-4 seconds, and the summary rows are still displayed at the bottom (empty).
Any ideas or something I'm overlooking?
The only way I see to achieve this is via the hidden method of the summary (->summarize(Sum::make()->hidden(true))). So I tried it out (even without the Action Button), just to see how it would work: However, this only hides the summary values, but the request still takes 3-4 seconds, and the summary rows are still displayed at the bottom (empty).
Any ideas or something I'm overlooking?
