[CLOSED] Set Grid Image ToolTip using javascript

  1. #1

    [CLOSED] Set Grid Image ToolTip using javascript

    function FnName(value) {
                switch (value) {
                    case 'Y': return '<img src="images/icons/LC-yes.png" ext:qtip="Y-' + temp1[8] + '" />'; break;
                    case 'N': return '<img src="images/icons/LC-no.png" ext:qtip="N-' + temp1[9] + '"/>'; break;
                    case '0': return '<img src="images/icons/LC-no.png" ext:qtip="N-' + temp1[9] + '"/>'; break;                                        
                }
            }
    The same code works fine in Ext 1x version for binding grid cell image and to set tool tip for the same.
    In Ext 2x version, the ToolTip is not assigned to the particular image..

    Kindly guide us.
    Last edited by Daniil; Dec 11, 2013 at 1:06 PM. Reason: [CLOSED]
  2. #2
    Hi @speedstepmem4,

    Please try "data-qtip" instead of "ext:qtip".
  3. #3

    Set Grid Image ToolTip using javascript?

    Hi Daniil,

    Thanks Daniil. Please mark this as Closed.
  4. #4
    I updated BREAKING_CHANGES.txt adding this new item:
    183. QuickTip: the "ext:" namespace has been changed to "data-". So, "ext:hide", "ext:qclass", "ext:qtip", "ext:qtitle", "ext:qwidth" should be renamed to
    "data-hide", "data-qclass", "data-qtip", "data-qtitle", "data-qwidth".
    Thank you.

Similar Threads

  1. [CLOSED] Unable to hide tooltip in javascript
    By alscg in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 31, 2013, 7:20 AM
  2. [CLOSED] Tooltip forGridPanel image column
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 14, 2012, 1:27 PM
  3. Replies: 1
    Last Post: May 16, 2012, 12:57 PM
  4. [CLOSED] How to add tooltip to a javascript image renderer
    By garrisrd in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 05, 2010, 1:43 PM
  5. How i can html of tooltip in javascript function
    By vucuongkg in forum 1.x Help
    Replies: 1
    Last Post: Jun 17, 2010, 4:05 PM

Posting Permissions