1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    30
    Vote Rating
    0
    chitgoks is on a distinguished road

      0  

    Default 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

    Code:
    var navbar = this.getNavigationBar();
    navbar.add({ .....});
    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.

    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.

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    Answers
    102
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    At this point, stop using Navigation view and just use a Container that implements a card layout with a top-docked toolbar.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    30
    Vote Rating
    0
    chitgoks is on a distinguished road

      0  

    Default


    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

Thread Participants: 1

Tags for this Thread