coderazzi / tablefilter-swing

TableFilter is a set of Swing components to support user-driven filtering on table.
https://coderazzi.net/tablefilter
MIT License
7 stars 2 forks source link

Request: "clear all" functionality #34

Closed coderazzi closed 11 years ago

coderazzi commented 11 years ago

Original report by Anonymous.


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 tzontonel on 2013-08-15 09:29:01

coderazzi commented 11 years ago

Original comment by coderazzi coderazzi (Bitbucket: coderazzi, GitHub: coderazzi).


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 issue reported on code.google.com by coderazzi on 2013-08-18 09:04:52

coderazzi commented 11 years ago

Original comment by Anonymous.


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

Original issue reported on code.google.com by tzontonel on 2013-08-19 09:14:01

coderazzi commented 11 years ago

Original comment by coderazzi coderazzi (Bitbucket: coderazzi, GitHub: coderazzi).


Great, I though perhaps the history clearing was an unexpected side effect.
No action taken, therefore.

Original issue reported on code.google.com by coderazzi on 2013-09-02 12:32:39