Only display certain records in layout (activated by button)
Essentially what I am trying to do is create multiple buttons for a layout (in list view) that will, when clicked, make only records with a certain field ("Product Category" > Product Category here) display. All other records in the table should be hidden until another button is clicked. I'm thinking that all I will need for this is a script that activates when a button is clicked, which I can do, but I'm not sure what to put in the script.
If anyone has any idea, please let me know. Thanks!