PDA

View Full Version : Ext.suspendLayouts()



andrucz
19 Sep 2014, 7:51 AM
Hello.

Is there a way to have the functionality of Ext.suspendLayouts() in ExtJS 3?

Thanks in advance.

Animal
19 Sep 2014, 11:27 PM
Thee is no need in Ext 3.

Layouts are not automatically updated upon every content and size change in 3. In 3 it is up to the developer to call doLayout on the outmost Container affected by the change.

It was in 4.0 when the change was made to update layouts upon every change which introduced the need for developers to batch these changes when their applications made many successive changes and wanted to avoid an expensive layout after each one.

andrucz
22 Sep 2014, 3:02 AM
Nice. Thanks for your help :)