Determine if tab is opened?

  1. #1

    Determine if tab is opened?

    What is the best way to check if a tab is open/added? I need to check if Tab2 has been already added to TabPanel1 - if so, leave it else (re)load it...
  2. #2
    I found this way... hope it help.

    if (TabPanel1.findById("Tab2") != null){
        //Then the Tab2 is opened in TabPanel1
    }

Similar Threads

  1. [CLOSED] Window opened within tabPanel client area.
    By supera in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Mar 08, 2012, 4:13 PM
  2. Replies: 3
    Last Post: Feb 16, 2012, 4:26 PM
  3. Store - Determine if dirty?
    By Tbaseflug in forum 1.x Help
    Replies: 4
    Last Post: Dec 02, 2010, 1:29 PM
  4. on button click another tab should be opened
    By kiran malgi in forum 1.x Help
    Replies: 1
    Last Post: Mar 27, 2010, 4:19 PM
  5. Replies: 2
    Last Post: Jan 14, 2009, 3:19 PM

Posting Permissions