How do you put mouse actions on multi-selects in a table?

I’m working on a tool where the requirement is to be able to do multi-selects in a table and delete all the selected rows from our database. Examples that I have seen online so far only provide a mouse action per row instead of multiple. Does Vaadin support this? Our database tool supports this kind of functionality so I’m assuming Vaadin does.

I was able to get it working by not using the target parameter in the handleAction but instead when the handleAction method was called I used the getValues from the table as getValues had my table selections and I filtered the collection based on my criteria.