1. #1
    Touch Premium Member
    Join Date
    Dec 2011
    Posts
    41
    Vote Rating
    0
    CInnovate is on a distinguished road

      0  

    Default Unanswered: How to hide the BackButton in NestedList?

    Unanswered: How to hide the BackButton in NestedList?


    Hi,

    If anybody know how to hide the BackButton in the NestedList?

    Any my attempts like testNestedList.getBackButton().hide() did not work :-(

    Thank you.

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Code:
    nestedList.getToolbar().down('button[ui=back]').hide();
    Not recommended though.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  3. #3
    Touch Premium Member
    Join Date
    Dec 2011
    Posts
    41
    Vote Rating
    0
    CInnovate is on a distinguished road

      0  

    Default


    we get this code working for us:

    nestedList.getBackButton().element.dom.style.visibility = 'hidden';

Thread Participants: 1