[CLOSED] hideTabStripItem replacement

  1. #1

    [CLOSED] hideTabStripItem replacement

    I see many postings on this as a replacement from v1 to v3.

    I know i can use panel.tab.hide.... however, i always used hideTabStripItem via index.
    panel.hideTabStripItem(2);

    I dont see a simple solution to replace this

    technically, i can call panel.items.items[2].hide() but that is not robust. Is there a more elegant solution that is more robust and not layout dependant?

    /Z
    Last edited by Daniil; Oct 26, 2015 at 2:31 PM. Reason: [CLOSED]
  2. #2
    Hi @Z,

    Quite a direct substitution of .hideTabStripItem() could be:
    tabPanel.getComponent(0).tab.hide();

    This might be helpful as well.
    tabPanel.closeTab(0);
  3. #3
    perfect.

    getComponent was what I needed.

    Thanks,
    /Z

Similar Threads

  1. [CLOSED] Replacement for getActiveTab()?
    By vadym.f in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 06, 2013, 3:44 PM
  2. [CLOSED] TabPanel hideTabStripItem/unhideTabStripItem
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 12
    Last Post: Dec 19, 2012, 1:35 PM
  3. Replies: 1
    Last Post: Nov 08, 2012, 10:08 AM
  4. Replies: 1
    Last Post: Aug 21, 2012, 7:37 AM
  5. AddLabelCls replacement
    By Zdenek in forum 2.x Help
    Replies: 2
    Last Post: Aug 16, 2012, 5:08 PM

Posting Permissions