[CLOSED] Hiding tabs

  1. #1

    [CLOSED] Hiding tabs

    In this example: http://mvc.mobile.ext.net/#demo/bottom-tabs

    How can I hide the tabs in Javascript. When i hide the tab, the icon should disappear from the bottom bar.
    I for the life of me cant get it to work :)

    i tried App.tabbar.child(#idOfTab).tab.hide()

    thanks,
    /Z
    Last edited by fabricio.murta; Dec 01, 2017 at 5:16 PM.
  2. #2
    Hello @Z!

    I'm not entirely sure I understand your needs but this is my best shot: you can't hide, but remove/add tabs.

    Why? Tabs are but a collection of panels, in which inactive tabs are but the "hidden" panels, and only one panel in the "group" can be in the "shown" status at a given time, all other panels are hidden.

    If you mean to hide just the tab handle for that panel, maybe moving the panel to an invisible container should do, but design-wise, it is expected that any panel inside a tab panel should have their tab handles displayed.

    I hope I understood correctly your question. If not, would you mind elaborating on the question?
    Fabrício Murta
    Developer & Support Expert
  3. #3
    that makes a lot of sense

    so tabPanel.remove(panel) works just fine

    thxs
    /Z
  4. #4
    Hello @Z!

    Glad it helped, thanks for the feedback!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] Move tabs Tabs Style Google Chrome
    By majunior in forum 1.x Premium Help
    Replies: 7
    Last Post: Apr 30, 2013, 12:58 PM
  2. [CLOSED] TabPanel tabs activating differently if remove tabs
    By rnachman in forum 1.x Premium Help
    Replies: 7
    Last Post: Mar 15, 2013, 3:41 PM
  3. HeaderGroupColumn Hiding
    By cwolcott in forum 1.x Help
    Replies: 3
    Last Post: Jan 03, 2012, 5:00 PM
  4. [CLOSED] TabPanel tabs are not hiding
    By rnachman in forum 1.x Premium Help
    Replies: 1
    Last Post: Mar 31, 2011, 11:22 PM
  5. [CLOSED] Hiding/Showing tabs in TabPanel during DirectEvent
    By jmcantrell in forum 1.x Premium Help
    Replies: 13
    Last Post: Jul 16, 2010, 3:30 PM

Posting Permissions