Sum of items selected on table?

When selecting items in a table, a count of the number of records selected is displayed. Is there a way to also display the sum of a column in the table of what's selected? I've got a summarizer on my table, but it only displays the total of what's in the table, not what's selected (could be my own configuration that's causing that to happen, it's not a simple sum).
No description
4 Replies
morty
morty8mo ago
You could create a bulk action that displays a modal with the sum perhaps? or even just a notification or something
Ali
Ali3mo ago
Hello, did you find a way on how to implement this ? or did you find a good way around it ?
Jon Mason
Jon MasonOP3mo ago
no, I struggled with that for a while and eventually gave up on it.
awcodes
awcodes3mo ago
The problem here is that the summerizers data is run during the query, but the selected items are handled by alpine and passed to the bulk action, so to do this would probably require a view manipulation so while potentially possible, not necessarily easy to do out of the box.
Want results from more Discord servers?
Add your server