1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    Kansas City - Metro
    Posts
    23
    Vote Rating
    1
    huskerguy is on a distinguished road

      0  

    Default FiltersFeature out of the Box has a bad algorithm

    FiltersFeature out of the Box has a bad algorithm


    FiltersFeature Plugin has a bad out of the box algorithm. When using the AddFilter method it destroys and re-creates all existing filters. I call the method 37 times, so you can imagine the performance and memory problems this creates. If you want to use the FiltersFeature be prepared to modify it. I wish the folks at Sencha would do something about this. They claim they are not responsible. But I am sure it turns off newbie users like me who actually like the filter concept

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Wow, 37 times? That's a lot of filtering
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Location
    Kansas City - Metro
    Posts
    23
    Vote Rating
    1
    huskerguy is on a distinguished road

      0  

    Default Yes, that is alot of filtering

    Yes, that is alot of filtering


    Hello,
    thanks for responding. my grid has 37 columns, so addFilter is called 37 times.
    I would like two things to happen, either someone modify the code like I did, or stop
    sending it out in the examples folder. It creates an illusion, which I fell for, that it is somehow
    recemmend to use. No matter how you slice it is still a bad algorithm

Thread Participants: 1

Tags for this Thread