A button that groups and ungroups a column

Hi,
Yes, it’s possible!
But it does require a little knowledge of the formula.
And it depends on how far you want to go!
Here’s an example (not with buttons), but you can do it with buttons without worries.