-
26 Sep 2012 2:28 AM #1
Unanswered: how to remove buttons in navigation bar
Unanswered: how to remove buttons in navigation bar
adding button to an Ext.navigation.View navigation bar
but removing buttons ... anyone got ideas? getDockedItems() always return 0, getInnerItems() and getItems() return weird items. i tried to loop them but there are no Ext.Button that is returned in the loop. mostly containers.Code:var navbar = this.getNavigationBar(); navbar.add({ .....});
my purpose to remove buttons is because when the view changes to a new one, i dont want the button from the previous view to be included. i only want 2 buttons fixed to the right, while the left changes for every new view.
-
26 Sep 2012 4:30 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 28
- Answers
- 83
At this point, stop using Navigation view and just use a Container that implements a card layout with a top-docked toolbar.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
26 Sep 2012 4:32 AM #3
ill see if i wont be able to do anything in the next few days. i dont want to go back all over because i just started all over to using Ext.navigation.View


Reply With Quote