标签:描述 http UNC fun width over tag ring div
1 function hoveringShow(value) { 2 return "<span title=‘" + value + "‘>" + value + "</span>"; 3 }
2.调用函数
1 <table id="mydatagrid" style="width:100%;height:96%"> 2 <thead> 3 <tr> 4 <th data-options="field:‘code‘,width:150, formatter: hoveringShow">编码</th> 5 <th data-options="field:‘flowname‘,width:150, formatter: hoveringshow">名称</th> 6 </tr> 7 </thead> 8 </table>
调用前:
调用后:
标签:描述 http UNC fun width over tag ring div
原文地址:https://www.cnblogs.com/zhaohadoopone/p/10782773.html