sencha touch 2 - how to hide titleBar in list? -


by default list not have titlebar, when create list in such way has empty titlebar

ext.define('application.view.recipelist', {     extend: 'ext.list',     xtype: 'recipelist',     requires: ['application.store.recipes'],     id:'list',        config: {                      grouped: true,         itemtpl: '{title}',         store: 'recipes',         onitemdisclosure: true     } }); 

can me understand how hide titlebar?

the empty bar navigation bar.

if want hide need set navigationbar false in mainpanel

update

config: {     navigationbar: false,      items: [{         xtype: 'recipelist',     }] } 

update

here's how add searchbar in navigationbar

this.getmain().getnavigationbar().add({     xtype: 'searchfield',     itemid:'contact_search',     placeholder: 'search....',     listeners: {         scope: this,         clearicontap: this.onsearchclearicontap,         keyup: this.onsearchkeyup     } }); 

but need hide when switch detail card, i'll let figure out how that.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -