小编EXT*_*bie的帖子

按钮工具提示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
});
Run Code Online (Sandbox Code Playgroud)

西部地区有两个带有手风琴布局的单选按钮,标有"内部"和"外部".我希望通过捕获单选按钮单击动态更改工具提示.

我可以捕获单选按钮单击,当我相应地设置按钮的工具提示时, 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');当点击外部时.

extjs button tooltip extjs3

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

button ×1

extjs ×1

extjs3 ×1

tooltip ×1