[CLOSED] Grid Cell Tooltips

  1. #1

    [CLOSED] Grid Cell Tooltips

    Hello

    How to conver this 1.x script to 2.x

    var companyRenderer = function (value, meta) {
                value = Ext.util.Format.htmlEncode(value);
                meta.attr = 'ext:qtip="Company Name:<br>' + Ext.util.Format.htmlEncode(value) + '"';
                return value; 
           };
    the above script is copied from this forum/thread
    http://forums.ext.net/showthread.php...operly-in-qtip
    Last edited by Baidaly; Nov 27, 2013 at 12:24 AM. Reason: [CLOSED]
  2. #2
    Hello!

    You need to use tdAttr and data-qtip. Try the following:

    var companyRenderer = function (value, meta) {
    	value = Ext.util.Format.htmlEncode(value);
    	meta.tdAttr = 'data-qtip="Company Name:<br>' + Ext.util.Format.htmlEncode(value) + '"';
    	return value;
    };
  3. #3
    It works, thanks a lot.
    Please close the request.

Similar Threads

  1. [CLOSED] Drag Cell from Grid 1 and Drop to Grid 2 Cell
    By redi in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Nov 18, 2013, 7:20 AM
  2. [CLOSED] [1.0] GridPanel cell and Tooltips
    By state in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 06, 2013, 5:33 AM
  3. TreeGrid cell Tooltips
    By rajputamit in forum 1.x Help
    Replies: 9
    Last Post: Mar 19, 2012, 11:27 AM
  4. [CLOSED] Gridpanel with cell tooltips
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 02, 2011, 7:53 AM
  5. [CLOSED] GridPanel Cell Tooltips doesn't work in user control
    By skisly in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 09, 2011, 1:57 PM

Posting Permissions