1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    58
    Vote Rating
    0
    vijaypatil12 is on a distinguished road

      0  

    Post Unanswered: I want to show tooltip only to my parent node of my treepane when i mouse over to it

    Unanswered: I want to show tooltip only to my parent node of my treepane when i mouse over to it


    I want to show tooltip only to parent node of my treepane when i mouse over to it,
    how do i code for this condition

    below is my code -

    tree = new TreePanel<BaseTreeModel>(store);
    tree.setDisplayProperty("userReports");
    tree.setCheckable(true);
    tree.setAutoLoad(true);
    tree.setCheckNodes(CheckNodes.LEAF);
    tree.getSelectionModel().setSelectionMode(SelectionMode.SINGLE);

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    Answers
    60
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Do you want to show them on the hole row, including all the icons or for example only on the text?

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    58
    Vote Rating
    0
    vijaypatil12 is on a distinguished road

      0  

    Default yes, i want to show tooltip to whole parent row

    yes, i want to show tooltip to whole parent row


    yes, i want to show tooltip to whole parent row

  4. #4
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    Answers
    60
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Quote Originally Posted by vijaypatil12 View Post
    yes, i want to show tooltip to whole parent row
    I would use QuickTip for this. You should extend TreePanelView and change the template to add the qtip attribute when required.

  5. #5
    Sencha User
    Join Date
    Sep 2010
    Posts
    58
    Vote Rating
    0
    vijaypatil12 is on a distinguished road

      0  

    Default it will be great, if you provide some sample code, i will get idea

    it will be great, if you provide some sample code, i will get idea


    Thanks

  6. #6
    Sencha User
    Join Date
    Jun 2011
    Location
    Iasi, Romania
    Posts
    144
    Vote Rating
    0
    Answers
    5
    catalin.ciobanu is on a distinguished road

      0  

    Default


    look here for qtip

Thread Participants: 2