Results 1 to 4 of 4

Thread: doLayout() on Panel makes app crash

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Apr 2013
    Posts
    14
    Answers
    1
    Vote Rating
    0
      0  

    Default 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
    6,154
    Answers
    501
    Vote Rating
    249
      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 human resources manager: fabienne.bell@sencha.com

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    14
    Answers
    1
    Vote Rating
    0
      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
      0  

    Default

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

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
  •