extjs 如何给column 加上提示

 更新时间:2014年07月29日 11:31:24   投稿:whsnow  
本节主要介绍了extjs 如何给column 加上提示,需要的朋友可以参考下
(福利推荐:【腾讯云】服务器最新限时优惠活动,云服务器1核2G仅99元/年、2核4G仅768元/3年,立即抢购>>>:9i0i.cn/qcloud

(福利推荐:你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun

<script type="text/javascript"

src="http://9i0i.com/pic.php?p=${pageContext.request.contextPath }/extjs/examples/simple-widgets/qtips.js"></script>

renderer : function(value, metaData, record, rowIndex,
colIndex, store) {
// provide the logic depending on business rules
// name of your own choosing to manipulate the cell
// depending upon
// the data in the underlying Record object.

// metaData.css : String : A CSS class name to add
// to the TD element of the cell.
// metaData.attr : String : An html attribute
// definition string to apply to
// the data container element within the table
// cell (e.g. 'style="color:red;"').
metaData.attr = 'ext:qtip="' + value + '"';

return value;
}

相关文章

最新评论

?


http://www.vxiaotou.com