[CLOSED] How to change TabTip on the client?

  1. #1

    [CLOSED] How to change TabTip on the client?

    Hi,

    Basic question here. I'd like to change the TabTip property on the client.
    The following code doesn't work properly for me although tabTip does change from the previously set value.
    TabPanel1.items.each(function (tab) {
        tab.tabTip='New tab tip';
    });
    Please advise.
    Last edited by Daniil; Jul 02, 2012 at 5:29 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Changing the tabTip after rendering the tab doesn't make sense.

    Please try:
    Ext.get(tab.tabEl).child('span.x-tab-strip-text', true).qtip = 'new tabTip';
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Changing the tabTip after rendering the tab doesn't make sense.

    Please try:
    Ext.get(tab.tabEl).child('span.x-tab-strip-text', true).qtip = 'new tabTip';
    Thank you, it works! In my scenario, I have to change the title and icon of the tab depending on the GridPanel selection in master-detail relationship on the client. You can close down this thread.

Similar Threads

  1. [CLOSED] How to change theme from the client side
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Jul 19, 2012, 7:49 PM
  2. [CLOSED] Change Display position of Tabtip in panel
    By legaldiscovery in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 04, 2011, 1:18 PM
  3. [CLOSED] Change fieldLabel on client-side
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 28, 2010, 5:18 PM
  4. [CLOSED] [1.0] Best way to change window width (client)
    By CarWise in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 17, 2010, 5:42 PM
  5. [CLOSED] Change Readonly property on the client
    By sharif in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 22, 2010, 12:10 PM

Tags for this Thread

Posting Permissions