Custom filtering

View: New views
3 Messages — Rating Filter:   Alert me  

Custom filtering

by julien.1486 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everyone,

Is there a way to specify how the fields should be filtered ?
I want to apply a filter to show a row only if it starts with the pattern (currently the row is displayed if it contain the pattern, no ?).

Thanks a lot for your help :)

Julien

Re: Custom filtering

by fab|an :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

julien.1486 wrote:
Hello everyone,

Is there a way to specify how the fields should be filtered ?
I want to apply a filter to show a row only if it starts with the pattern (currently the row is displayed if it contain the pattern, no ?).
You can configure TextMatcherEditors to do exactly that, by specifying a mode:
http://publicobject.com/glazedlists/glazedlists-1.8.0/api/ca/odell/glazedlists/matchers/TextMatcherEditor.html

fabian

Re: Custom filtering

by julien.1486 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, it works fine :)

Thanks a lot for your help !

fab|an wrote:
julien.1486 wrote:
Hello everyone,

Is there a way to specify how the fields should be filtered ?
I want to apply a filter to show a row only if it starts with the pattern (currently the row is displayed if it contain the pattern, no ?).
You can configure TextMatcherEditors to do exactly that, by specifying a mode:
http://publicobject.com/glazedlists/glazedlists-1.8.0/api/ca/odell/glazedlists/matchers/TextMatcherEditor.html

fabian