oveka
oveka

Reputation: 57

Defer TabPanel rendering sencha touch 2

I'm working on a big application, with tabpanel containing 5 tabs.

I would like to defer the render of the not active first tab, to speed up the loading of the application.

I've seen on Ext JS that there is an attribute deferRender, but it does not exist in sencha touch.

Problems is that sencha load all the image in the others panel causing delay in loading.

Someboy know any fix ?

Thank you

Upvotes: 1

Views: 460

Answers (1)

Baidaly
Baidaly

Reputation: 1849

Based on this question: items not loading in sencha touch 2

I made the following fiddle. Take a look, it briefly shows how it might be done: https://fiddle.sencha.com/#fiddle/k2j

Upvotes: 1

Related Questions