Results 1 to 4 of 4

Thread: Enable Tooltip in a GridPanel

  1. #1

    Question Enable Tooltip in a GridPanel

    Hi,

    Does anyone can give or point me to an example that shows how to enable tooltip for a given column in a GridPanel ? (This column's width is almost always not enough for the text it displays)

    Thanks,
    Guys

  2. #2
    Ext JS Premium Member jokelas's Avatar
    Join Date
    Dec 2009
    Location
    Helsinki, Finland
    Posts
    28

    Default

    Hi,

    I cannot remember if there is anything built in feature for this (column, grid, columnModel), but atleast you can set the "qtip" parameter for the cell in columns renderer.

    e. g.
    Code:
    scope:this,
    renderer: function(value){
         return '<div qtip="' +value+ '">' +value+ '</div>';
    }
    - Simo

  3. #3

    Default

    Thanks jokelas !! It did the job...
    Guys

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    Use a DataTip

Similar Threads

  1. How can i enable button in gridpanel toolbar?
    By grishconner in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 6 Dec 2009, 8:45 AM
  2. Dynamic disable/enable of drag and drop in GridPanel
    By elinu in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 30 Sep 2009, 12:59 AM
  3. GridPanel: Enable horizontal scrolling with no records
    By Logger in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 7 Feb 2009, 1:34 AM
  4. Disable/enable tooltip when button is disabled/enabled
    By ryounes in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 24 Sep 2008, 7:53 AM
  5. Tooltip for each row in GridPanel
    By QkI in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 17 Dec 2007, 6:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •