1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    50
    Vote Rating
    0
    dmanchikalapudi is on a distinguished road

      0  

    Default Using QuickTip onClick and not onHover

    Using QuickTip onClick and not onHover


    I have a QuickTip defined for my grid

    Code:
     QuickTip qt = new QuickTip(myGridInstance)
    within one of my cell renderers, I have

    Code:
     <a qtip="some text I want to display when a user clicks this link" />
    Currently, I see the qtip on hover and click ... I need the qtip to display only on click... how can I do this ?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,691
    Vote Rating
    107
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    A QuickTip only works onmouseover. You will need some custom implementation of QuickTip.

    However i would not use QuickTip in this case. Use Tip and show it manually. Add a click listener to the grid and show the tip when needed.

Similar Threads

  1. How to use quicktip
    By pankaj in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 2 Jan 2008, 9:58 AM
  2. Quicktip hide
    By tirams in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 12 Oct 2007, 10:16 AM
  3. Problem with QuickTip
    By mdombos in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 4 Sep 2007, 10:22 AM