Results 1 to 3 of 3

Thread: FiltersFeature out of the Box has a bad algorithm

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    Kansas City - Metro
    Posts
    24
    Vote Rating
    1
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,422
    Vote Rating
    1271
      0  

    Default

    Wow, 37 times? That's a lot of filtering
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    24
    Vote Rating
    1
      0  

    Default 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

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
  •