jqgrid更改列标题属性 [英] jqgrid change column title attribute
本文介绍了jqgrid更改列标题属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我将鼠标悬停在某个特定的单元格值上时,该悬停值与该单元格值相同.可以将悬停文本更改为不同于单元格值吗?
When I hover over a particular cell value, the hover value is same as the cell value. Can I change the hover text different from the cell value?
谢谢
推荐答案
通常,工具提示是<td>
元素的title
属性.您可以使用 setCell 方法来更改工具提示(请参见此).在更复杂的情况下,您可以使用 jQuery.attr (请参见此处).
In general the tooltip is the title
attribute of the <td>
elements. You can use setCell method to change the tooltip (see this). In more complex situations you can use jQuery.attr (see here) or you a tooltip plugin (see here).
这篇关于jqgrid更改列标题属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文