Default filter on no items found

SyntaxEditor for WPF Forum

Posted 11 years ago by Timo Emondts
Version: 11.2.0555
Avatar

I'd like to run a default filter when the standard filters do not return any items.

Ex.:

- Standard filter removes all items that do not start with the typed text.

- Possible items: "foo" and "foobar".

While typing "fo" displays both items, no results will be displayed in case of typing "fobar". In that particular case I want to run a default filter which allows to filter less items, e.g., only items that do not start in f.

From what I've seen there's no chance to check on "no items", dismiss filter results and run another filter.

Only approach I come up with, is calculating if my standard filters will remove all items and run my default filter instead. This is very tricky, especially when it comes to keeping a good performance and maintenance.

--Timo

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Timo,

That is correct, there isn't a multi-phase approach available here other than to do your suggested approach.


Actipro Software Support

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.