Page 5 of 5 FirstFirst ... 345
Results 41 to 45 of 45

Thread: 4.2.1 is a disaster

  1. #41
    Ext Premium Member halcwb's Avatar
    Join Date
    Mar 2010
    Location
    Rotterdam
    Posts
    411
    Vote Rating
    127
      0  

    Default

    Quote Originally Posted by pierrocknroll View Post
    OK I understand, thanks ! You've simply added suspend et resume layouts. Nice idea.
    I think this technique could be added in a lot of other internal functions
    Maybe a stupid question, but isn't it far more logical to handle this logic in a controller instead in a patch in a proxy? If you let the controller handle the loading of the store of a grid you simple can wrap the load between a suspend and a resume layout? Or am I missing something?

    Thanks.

  2. #42
    Ext JS Premium Member
    Join Date
    Jun 2011
    Location
    St. Louis
    Posts
    220
    Vote Rating
    10
      0  

    Default

    Quote Originally Posted by halcwb View Post
    Maybe a stupid question, but isn't it far more logical to handle this logic in a controller instead in a patch in a proxy? If you let the controller handle the loading of the store of a grid you simple can wrap the load between a suspend and a resume layout? Or am I missing something?

    Thanks.
    During the initial grid load, any column show/hide and grouping will trig store to load. Suppose two columns (default are hidden) set to show, and another two column (default are show) set to hidden, plus grouping, total store load will be 2+2+1 = 5. Without patch in the proxy, the total layouts will be > 10.

    I have tried many possible suspend/resume layout in my application, unable to reduce the total layouts. If you can put a simple example here to match 3.x.x performance, it will be great for the 4.x.x performance.

    See original problem and simple test code at http://www.sencha.com/forum/showthre...004&viewfull=1

  3. #43
    Ext Premium Member halcwb's Avatar
    Join Date
    Mar 2010
    Location
    Rotterdam
    Posts
    411
    Vote Rating
    127
      0  

    Default

    Quote Originally Posted by jimmylu98 View Post
    During the initial grid load, any column show/hide and grouping will trig store to load. Suppose two columns (default are hidden) set to show, and another two column (default are show) set to hidden, plus grouping, total store load will be 2+2+1 = 5. Without patch in the proxy, the total layouts will be > 10.

    I have tried many possible suspend/resume layout in my application, unable to reduce the total layouts. If you can put a simple example here to match 3.x.x performance, it will be great for the 4.x.x performance.

    See original problem and simple test code at http://www.sencha.com/forum/showthre...004&viewfull=1
    I will post my reply to that thread, otherwise things get to much off topic over here.

  4. #44
    Sencha User pierrocknroll's Avatar
    Join Date
    Aug 2011
    Posts
    36
    Vote Rating
    -3
      -2  

    Default

    [SNIP]
    Last edited by mitchellsimoens; 26 Aug 2013 at 4:31 AM. Reason: bad language

  5. #45
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,413
    Vote Rating
    1269
      0  

    Default

    @pierrocknroll I have removed your text. Please keep you language professional.
    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.

Page 5 of 5 FirstFirst ... 345

Posting Permissions

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