Nick-The-Uncharted / tablefilter-swing

Automatically exported from code.google.com/p/tablefilter-swing
1 stars 1 forks source link

Request: "clear all" functionality #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I recommend a new functionality regarding the labels of the tablefilter 
library. For the next release can be done a method which clear all the search 
fields if it is filled?

and when I call the method from a action performed button (e.g.) to be 
something like that:

header.setClear(true);

or something like that.

What do you think, it is a good idea?

Original issue reported on code.google.com by tzonto...@gmail.com on 15 Aug 2013 at 9:29

GoogleCodeExporter commented 9 years ago
Hi, 

what about invoking

header.resetFilter();

It does what you suggest (although it also clears the history of the filters 
entered by the user). 

Original comment by coderazzi on 18 Aug 2013 at 9:04

GoogleCodeExporter commented 9 years ago
That it is what I want. Was so easy, and didn't check the documentation before 
post this 'request'. Thanks!

Original comment by tzonto...@gmail.com on 19 Aug 2013 at 9:14

GoogleCodeExporter commented 9 years ago
Great, I though perhaps the history clearing was an unexpected side effect.
No action taken, therefore.

Original comment by coderazzi on 2 Sep 2013 at 12:32