我已经通过调用按钮工具提示的ExtJS
var add = tabSelection.addButton({
id : 'add',
text : 'Add',
hidden : true,
tooltip : 'Please highlight the correct value and click Add to create new contact',
handler : addContact
});
,我们在以手风琴布局西部地区两个单选按钮,标记添加一个按钮,在中心区域中的标签面板“内部”和“外部” 。我希望通过捕获单选按钮单击来动态更改工具提示。
我可以捕捉单选按钮,并在相应地设置按钮的工具提示时, add.setToolTip('Please highlight the correct value and click Add to create new internalcontact');
如果内部客户端被点击。 add.setToolTip('Please highlight the correct value and click Add to create new external contact');
单击外部时。
你可以重新说明这一点或提供更多的信息?很难确定你是否在这里问一个问题。 – owlness 2010-12-09 07:55:48