1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Answers
    1
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Question Unanswered: How to reLayout or reFresh the container?

    Unanswered: How to reLayout or reFresh the container?


    I do have situation when I need refresh or re-layout components inside container.
    How to do that?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,074
    Answers
    3500
    Vote Rating
    854
    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


    When you add or remove an item it will insert/remove the DOM elements and since the layouts are CSS the browser takes care of it all. Therefore you don't need to
    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
    Jan 2011
    Posts
    77
    Answers
    1
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default


    I woul think the same,

    but when I do something like this:

    this.getConnectView().hide();
    this.getDisconnectView().show();

    where Connect and Disconnect views, appears to be that some pieces of the screen are no rendered, I either need to touch the screen or connect to the page via inspector and just look at those elements and everything re renders properly......

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,074
    Answers
    3500
    Vote Rating
    854
    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


    That would be a browser issue then.
    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.

  5. #5
    Sencha User
    Join Date
    Jan 2011
    Posts
    77
    Answers
    1
    Vote Rating
    0
    riahut.com is on a distinguished road

      0  

    Default


    Yes, I believe it is,

    Adding:

    document.body.appendChild(document.createTextNode('dude!'));

    Fixing the problem....

Thread Participants: 1