1. #1
    Sencha User
    Join Date
    Apr 2013
    Posts
    14
    Answers
    1
    Vote Rating
    0
    tR4x0u is on a distinguished road

      0  

    Default Unanswered: doLayout() on Panel makes app crash

    Unanswered: doLayout() on Panel makes app crash


    Hello everybody,

    I'm using ExtJS Portal for my application. When I try to move or resize portlets, I call myContainer.doLayout(); to force the container to refresh its children (my portlets). But sometimes this call makes my app crash, with no error on Firebug.

    The content of my portlets (graphic charts, pie charts, bar charts...) are not refreshed any more and for exemple when I resize a portlet, it's content is not re-arranged to fit the layout. I hope you understand me.

    Why does this behaviour happen ?

    Thanks in advance

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,115
    Answers
    403
    Vote Rating
    187
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    What if you use updateLayout() instead of doLayout()?
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

    C
    heck out all of the 2013 SenchaCon presentations here:
    http://www.sencha.com/blog/senchacon...now-available/

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    14
    Answers
    1
    Vote Rating
    0
    tR4x0u is on a distinguished road

      0  

    Default


    Thanks for your reply, I will try this as soon as possible.

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    14
    Answers
    1
    Vote Rating
    0
    tR4x0u is on a distinguished road

      0  

    Default


    I just tried updateLayout instead of doLayout and I've got the same problem.

Thread Participants: 1

Tags for this Thread