Threaded View

  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    15
    Vote Rating
    1
    webdev2111 is on a distinguished road

      1  

    Exclamation Unanswered: Grid cell tooltip

    Unanswered: 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