View Full Version : Tabpanel content loading

4 Jan 2011, 8:12 AM
I want to improve the speed of my webpage loading. There are currently 3 panels with one of them containing tabbed Panels. The page loads completely after the the content of all the tabbed panels has been loaded.
Is there a way I can have the page loaded while the ajax fetches the tabbed panel data in the background?

I don't want to use the 'activate' listener for tab panels since the information needs to fetched before the user actually activates any of the tabs. I have tried the 'beforerender' and 'beforeshow' listeners with no luck.

Any thoughts?


4 Jan 2011, 12:27 PM
I guess it depends on how you make the ajax request.

But you could probably make the call in the following method

initComponent: function () {}