PDA

View Full Version : Viewport not working



AJAIN32
2 Sep 2014, 11:05 AM
Hi ,

can anyone give me one example where in app.js we are using launch function and kept autocreateviewport true.
and in viewport i just want to show any one component.

i am not able to paste the code here, so anyone please just tell me or give some sample where i have app.js and viewport files where on running the app, viewport view renders automatically ?

Thanks.,
Ankit

suvo
3 Sep 2014, 12:12 AM
Are you using Sencha Architect ?

What do you mean by "I am not able to paste".

AJAIN32
3 Sep 2014, 12:35 AM
I was trying that POC on client machine thats why i was not able to put the code.

And i got the issue, in the app.js i had to include appFolder configuration and it worked.

Thanks,
Ankit