I am using Extjs 4.0.7.
The tooltip(Ext.tip.Tooltip) to show some message is coming correctly. When I check in the network tab of the browsers development tools, it is sending multiple requests. But I want a single request to be sent.
couponTpl: function (value, metaData, record, rowIndex, colIndex, store, view) {
view.tip = Ext.create('Ext.tip.ToolTip', {
target: view.el,
delegate: view.itemSelector,
anchor: 'left',
trackMouse: true,
dismissDelay: 100,
scope: this,
showDelay: 300,
height: 300,
hideDelay: 0,
listeners: {
beforeshow: function updateTipBody(tip) {
var record = view.getRecord(tip.triggerElement);
tip.update('<div><span> record.data.offer</span></div>');
}
}
});
return value;
}