我有一个带有工具提示的图表。我想要的是当我将鼠标移动到工具提示应该隐藏的特定数据上时,如果我将它移动到其他数据上,它应该再次显示。我的示例代码:Extjs4如何隐藏工具提示
tips = {
trackMouse : true,
width : 120,
height : 26,
renderer : function(storeItem, item){
if(item.yField == 'temp'){
this.hide();
} else{
this.setTitle(storeItem.get(xFld)+':'+item.value[1]);
}
};
我试过hide();
,destroy();
,disable();
和,但毫无效果。 任何人都可以为我提供适当的解决方案。 谢谢