Apr 18, 2012, 8:31 PM
[CLOSED] Hide tooltip
Hi,
Just wondering how to hide toolTip in 2.0?
I have code below:
I always got the tooltip.
Just wondering how to hide toolTip in 2.0?
I have code below:
var onBeforeShow = function (toolTip, grid) {
var view = grid.getView(),
record = view.getRecord(toolTip.triggerElement),
data = Ext.encode(record.get('ErrorMessage'));
if (typeof (record) != 'undefined' && record.get('Error') == 'ERROR') {
toolTip.update(data);
} else {
toolTip.hide();
}
};
It looks like the hide() method does not work.I always got the tooltip.
Last edited by Daniil; Apr 19, 2012 at 3:43 PM.
Reason: [CLOSED]