PDA

View Full Version : Defer loading of Ext components



padmag
23 Oct 2010, 9:51 AM
Hi~
I am pretty new to Ext. I have questions on the Ext Rendering. I have a screen where I load two calenders and 3 tab panels. Every thing is rendered through the initComponent when the page is loaded for the first time. This is taking a bit of time in the first load. Is there a way to defer the loading of the Ext components (like teh calenders in my case) in a defered way? Let the page first laods without the calenders, once the page is loaded and then I render the calender...
Let me know if any one has any suggestions/ways to implement this in Ext.
Note# I am using Ext 2.1

Thx

Animal
23 Oct 2010, 11:33 AM
New & 2.1???

padmag
23 Oct 2010, 10:31 PM
I am trying to optimize already writtern code. We also use a Customized product which ships with Ext 2.1. So I go no choice to work on 2.1

Animal
23 Oct 2010, 11:55 PM
It's not going to bee easy. The codebase has moved on such a long way.

deferredRender on card layouts works well now. Not sure if that option even existed in 2.1