extjs - Button on TitleBar simply doesn't display Sencha Touch -


here code.

ext.application({     name: 'sencha',     launch: function() {          ext.create("ext.tabpanel", {             fullscreen: true,             tabbarposition: 'bottom',              items: [             {                 xtype: 'titlebar',                 docked: 'top',                 title: 'myapp',                 itmes: [{                     xtype: 'button',                     text: 'add',                     align: 'right'                 }]             }]         });     } }); 

someone said use navigation view, , saw examples using ext.viewport.add(), don't either of them. wonder possible add buttons on titlebar , bind events onto buttons in configuration directly?

update:

i found approach--> using ext.viewport.add() , works in desktop browers, doesn't work when generated cordova project and/or deployed onto devices (both android , windows phone 8), titlebar doesn't display @ all.

it makes me more urgent find way how write titlebar, button , events configuration.

it's typo : itmes should items :)


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -