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
Post a Comment