PDA

View Full Version : Why is gridpanel actioncolumn getTip not working?



xjscrafter
8 Feb 2014, 12:28 AM
Seems simple, like actioncolumn getTip config should do what API says it does. Why not?


{
xtype: 'actioncolumn',
text: 'Actions',
align: 'center',
dataIndex: 'name',
items: [{
icon: './images/atlas/icons/blue/settings-close-b.png',
iconCls: 'actionColumnOneIcon',
getTip: function (v, metadata, rec, row, col, store) {
return 'delete ' + rec.get('name');
},
handler: function (grid, rowIndex, colIndex, item, event, record, row) {
this.fireEvent('aggHostGridIconClick', grid, record, 'delete');
}
}
],
width: 75
}

Zinnia
10 Feb 2014, 1:03 AM
Have tested the below code , it is working fine at my end.

just add Ext.QuickTips.init();