Here http://jsfiddle.net/handsoncode/bcbyLu8w/ I have an example of including only some of the rows based on cell value. In the example when the button is clicked only the temperature for USA is shown. Other button shows only temperature in Russia. The last button erases the filers (shows all the values).
Thank you for your reply Alexandra, but if you press the USA ONLY button and press the Russia button, the filter will be applied in duplicate, so I modified it as below.
I got a question after seeing this code. My table size is not that big right now. The headers are currently full of text, and when I use the filter function, the filter arrow pops out of the header and looks bad. I can’t increase the header width because I have a fixed div size.
The first is, can I sort it out with an external button without using the filter function?
Second, if I can’t do that, I want to make a filter arrow display none. Is it possible?