In case you didn’t know, you can group on a button.
Not sure if this is intended behavior though. There are bugs. E.g., you cannot change the appearance of the button while it’s grouped. Or the button stops working when a row is deleted from a group. A workaround is to ungroup and then group back.