Buttons for filters

Hello

Quick question, I haven’t been able to work out how to do this, but may be missing something.

Can I have a row of say 6 buttons across the top of a grid, to give quick and easy access to filters?

ie - click on the “available” button and only available records show. I’d have buttons for “out of stock” etc too.

Hope this is possible - better than having a drop down filter. Much more visual.

Thanks,
Andrew