Summarize only the whole table (not the page)
Hi! I would like to summarize only the whole resource, without summarizing the page. So only one summarize row is shown - the whole summary.
I'm not suer how to approach this to be honest. I've tried with groups, but that is not the way I would like it to be.
Any help or pointers would be great!
4 Replies
to your TextColumn. It will sum the page and the entire table.
yes, I know it will, I'm using this already π
what i need is a summarizer that DOES NOT summize the page, only the whole resource - I want the summarizer for the page completely removed, leaving the overall summarizer only
Ok so you don't want it to do both.
That's not possible out of the box, you could do a PR to support disabling page sum? i.e. displayPageSum(true/false) displayTableSum(true/false) onto the table? Or add a class to the table, and hide the page sums.
yeah, I alredy tought so, but I know where I should put it in the view (filament/tables/resources/views/components/summary/index.blade.php), but I do not know where should I put it in the classes so that this view props would be overwritten, and it would be configurable by the user. If You'll point me to a class, I'll make the PR π