Results 1 to 5 of 5

Thread: Are the filter events Update, Activate, Deactivate actually implemented?

    This duplicates another bug already reported in our system: EXTJS-15588
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    290

    Default 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

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    290

    Default

    Thanks!

  4. #4
    Sencha User razvanioan's Avatar
    Join Date
    Feb 2008
    Location
    Romania
    Posts
    135

    Default

    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

  5. #5
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,501

    Default

    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!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •