[CLOSED] treepanel tooltip not destroyed and shows on grid

  1. #1

    [CLOSED] treepanel tooltip not destroyed and shows on grid

    Hi,

    we have a situation where the tooltip rendered on a treenode is displayed as the row tooltip for the grid. this affects the grids on the same page as the treepanel and the grid rendered after the user navigate away from the page the contains the tooltip. In situation where the grid also have a row tooltip implemented, the grid shows the grid tooltip as well as the treepanel tooltip.

    The tooltip for the treepanel is created as shown below.

     var node = {
                text: data.Title,
                Type: data.Type,
                Model: data,
                leaf: false,
                children: [],
                qtip: "my tooltip"
    
            };
    how can this tooltip be prevented from rendering on grid row/

    regards
    Last edited by Daniil; Nov 19, 2013 at 5:53 AM. Reason: [CLOSED]
  2. #2
    Hello!

    You need to use ToolTip instead of QTip then you can prevent ToolTip from displaying using beforeShow listener, like in the following post: http://forums.ext.net/showthread.php...ll=1#post90830
  3. #3
    Hi @RCM,

    Do you mean that a qtip defined for a TreePanel's Node somehow appears for a GridPanel's row? Sounds very buggy, but, I am afraid, we cannot help without a test case to reproduce.
  4. #4
    Quote Originally Posted by Baidaly View Post
    Hello!

    You need to use ToolTip instead of QTip then you can prevent ToolTip from displaying using beforeShow listener, like in the following post: http://forums.ext.net/showthread.php...ll=1#post90830
    i used the code below and no tooltio appeared on the treenode

    var node = {
                text: data.Title,
                Type: data.Type,
                Model: data,
                leaf: false,
                children: [],           
                tooltips: [
                    { xtype: "tooltip",
                        listeners:
                        {
                            show: {
                                handler: function () {
                                    this.body.dom.innerHTML = "<b>" + data.ToolTip + "</b>";
                                }
                            }
                        }
                    }]
            };
    I also tried the code below and no tool tip showed

    var node = {
                text: data.Title,
                Type: data.Type,
                Model: data,
                leaf: false,
                children: [],            
                tooltip: "test tool tip"
            };
  5. #5
    Could you provide a full sample to reproduce. Please, read the following thread: http://forums.ext.net/showthread.php?3440

Similar Threads

  1. [CLOSED] Desktop windows not destroyed on closing
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 30, 2012, 7:04 PM
  2. Replies: 7
    Last Post: Nov 13, 2011, 4:43 PM
  3. Replies: 5
    Last Post: Mar 23, 2011, 9:57 AM
  4. Replies: 0
    Last Post: May 19, 2010, 4:49 PM
  5. Replies: 4
    Last Post: Dec 18, 2009, 6:18 PM

Posting Permissions