How to manipulate dynamic objects in Sencha touch -


so dynamically load / change elements of xtype objects. example on logic in initialise method load either 1 or other this.down("#homeview").title.

 ext.define("apn.view.flyoutnavigation", {     id: "flyoutnavigationpanel",     extend: 'ext.ux.slidenavigation.view',     requires: [         'ext.container',     ],     config: {         items: [             {                 itemid: 'nav_home',                 id: 'homeview',                 title: "thetitlethatiwanttochange" ... 

while i'm looking @ things sethtml, or assigning variable "" doesn't have impact on ui component.

so question how dynamically load variable of object this.down("#homeview")

to change title need call settitle() method. can provide code try set it?


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -