1

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

oveka
  • 57
  • 5

1 Answers1

1

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

Community
  • 1
  • 1
Baidaly
  • 1,829
  • 1
  • 15
  • 16
  • Thank for your answer. I'm a little bit afraid of painted listeners, as it is thrown randomly in some devices (cause to load the memory on iPhone by example). – oveka Mar 23 '15 at 09:48
  • I used your answer with android, gained some seconds at loading, will try with iPhone. Thank You ! – oveka Mar 23 '15 at 14:03