FilterEditor manual filtering
2 posts
• Page 1 of 1
FilterEditor manual filtering
The FilterEditor automatically sets a filter on value change!
Is it possible to stop automatic filtering and do some extra tasks after value changed, e.g. set additional filters or show an information message?
Is it possible to stop automatic filtering and do some extra tasks after value changed, e.g. set additional filters or show an information message?
- johnit
- Posts: 45
- Joined: Fri Nov 16, 2012 5:58 pm
Re: FilterEditor manual filtering
Yes, this is not a problem. Simply disable automatic search, e.g:
This prevents the specific filter editor from filtering, after value changes. But be careful, if you have multiple editors with different auto-search setting, a FilterEditor with auto-search will include the non auto-search editor.
The value changed event of the FilterEditor will be fired in any case. This event can be used to implement custom features like showing an information.
If you want to apply the filter manually, simple call
or
- Code: Select all
filterEditor.setAutoSearch(false);
This prevents the specific filter editor from filtering, after value changes. But be careful, if you have multiple editors with different auto-search setting, a FilterEditor with auto-search will include the non auto-search editor.
The value changed event of the FilterEditor will be fired in any case. This event can be used to implement custom features like showing an information.
If you want to apply the filter manually, simple call
- Code: Select all
FilterEditor.applyFilter(databook);
or
- Code: Select all
filterEditor.applyFilter();
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
2 posts
• Page 1 of 1