Results 1 to 4 of 4

Thread: doLayout() on Panel makes app crash

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

    Default 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 User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505
    Vote Rating
    253
      0  

    Default

    What if you use updateLayout() instead of doLayout()?

  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
  •