ExtJS Grid tooltip的几种实现方式看到问答里面的:http://www.iteye.com/problems/19761 就顺便总结点自己
ExtJS Grid tooltip的几种实现方式
看到问答里面的:http://www.iteye.com/problems/19761 就顺便总结点自己的体会吧。
?
?
1.表头提示
?
在2.2里面是设置ColumnModel.tooltip?
?
2)使用ToolTip
官方也已经给出方法:
http://extjs.com/forum/showthread.php?p=112125#post112125
http://extjs.com/forum/showthread.php?t=55690
?
以上给出的方法是可以让一个grid里面的元素共享一个tooltip对象。一般用来做rowtip
不过3.0有更好的方式,如下:
?
3.行提示 RowTip
?
ExtJS3.0新增的方法,设置tooltip的?
?
4.其他方法
?
监听GridView或Store的事件,然后通过rowSelector或getRow方法来遍历,自己加tooltip... 这个方式请无视吧
?
?
1 楼 飞火流星 2009-09-28 要为下面的输入框添加qtip,该怎么做啊?{
xtype:'textfield',
id:'w_tgmc',
fieldLabel: '图稿名称',
allowBlank:false,//该选项值不能为空
name: 'tgmc',
width: 250
}
