This duplicates another bug already reported in our system:
EXTJS-15588
-
Sencha Premium Member
Are the filter events Update, Activate, Deactivate actually implemented?
I've been trying (unsuccessfully) to hook into the 'update', 'activate', and 'deactivate' events that supposedly exist on grid filters (Ext.grid.filter.filters.Base). One reason I ask is that in the source code for the base class I see the following in the 'setActive' method:
// TODO: fire activate/deactivate
Since I don't seem to be able to get these events it makes me think that they aren't actually available in 5.0.1?
Jim
Last edited by slemmon; 28 Oct 2014 at 2:41 PM.
Reason: Thread moved to the bugs forum
-
Thanks for the report! I have opened a bug in our bug tracker.
-
Sencha Premium Member
-
Almost one year later, version 5.1.1 and this is still marked as TODO ...
http://docs.sencha.com/extjs/5.1/5.1...thod-setActive
So I'll have to implement this myself, as I've already overridden almost all filters until now (Base, Date and List).
The issue is that FireEvent (method of Ext.util.Observable) is missing (not inherited) into Filters, which might be the reason of postponing this implementation for so long ...
[edit]
I have overridden SetActive() method of Ext.grid.filters.filter.Base, by implementing Ext.mixin.Observable and firing the needed events (activate / deactivate or whatever needed)
Last edited by razvanioan; 1 Sep 2015 at 10:22 AM.
Reason: solution used
---
Razvan Ioan ANASTASESCU
Senior WEB Developer
-
March 23, 2016:
ExtJS 6.0.1 still haves the same comments...
Jezz!
UI: Sencha Architect / ExtJS 4 - 6
Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
Application Server: WildFly / Weblogic
Databases: Oracle / MySQL / DB2 / Firebird
If you like my answer please vote!