Results 1 to 10 of 10

Thread: Grid cell tooltip

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    15
    Vote Rating
    2
      2  

    Exclamation Grid cell tooltip

    I have been searching everywhere for a solution to using quicktip/tooltip on how to add tooltip to each gridcell and it doesnt seem to be working..



    What I am trying to do is have a mouse over on a cell I want a t tooltip to show with the value in the cell

    Anyone have any suggestions how I can add extjs tooltip to this?

    Code:
    var listView = Ext.create('Ext.grid.Panel', {
            store: mystore,
            multiSelect: true,
            viewConfig: {
                emptyText: 'No images to display'
            },
            //reserveScrollOffset: true,
        renderTo: containerEl,
       
            columns: [
    {
                text: 'Class',
                flex: 10,
                dataIndex: 'ClassName',
                renderer: function(value, metaData, record) {
       return Ext.String.format('<a href="#" class="tooltip2">{0}<span>{0}</span></a>', value);
            }
    
       ]     
        });
    Last edited by webdev2111; 8 Feb 2012 at 9:10 AM. Reason: added [CODE] tags

Tags for this Thread

Posting Permissions

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