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).
4 Replies
You could create a bulk action that displays a modal with the sum perhaps?
or even just a notification or something
Hello, did you find a way on how to implement this ? or did you find a good way around it ?
no, I struggled with that for a while and eventually gave up on it.
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.