[CLOSED] tab.setTitle() updates title but old text on tab remains

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] tab.setTitle() updates title but old text on tab remains

    Hi
    I am calling setTitle() on a tab which I access via getActiveTab() on the current tab panel. Inspecting the element prior to and after calling setTitle() confirms that the Title of the tab is in fact being changed. However, in the Browser the text on the tab remains the same.

    I have tried calling doLayout(), render() and show() on the tab to no avail. Any ideas how I can get the text on the tab to actually update to the new title?

    thank you
    Last edited by Daniil; Jul 02, 2012 at 10:47 AM. Reason: [CLOSED]
  2. #2
    Quote Originally Posted by GLD View Post
    Hi
    I am calling setTitle() on a tab which I access via getActiveTab() on the current tab panel. Inspecting the element prior to and after calling setTitle() confirms that the Title of the tab is in fact being changed. However, in the Browser the text on the tab remains the same.

    I have tried calling doLayout(), render() and show() on the tab to no avail. Any ideas how I can get the text on the tab to actually update to the new title?

    thank you
    Please ignore this, we got it working. I think an exception may have been getting thrown in some of our tab change handler code. Once this code was commented out the Title updated as epected.

    thanks again

Similar Threads

  1. [CLOSED] SVN updates
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 08, 2012, 3:54 PM
  2. [CLOSED] ExtJS library updates
    By GavinR in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 10, 2010, 2:26 PM
  3. [CLOSED] tab title text remove
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 01, 2009, 9:32 AM
  4. Replies: 0
    Last Post: Jun 29, 2009, 8:41 PM
  5. Replies: 5
    Last Post: Jun 19, 2009, 6:38 AM

Posting Permissions