extjs 如何给column 加上提示

时间:2014-07-29    点击:75   
<script type="text/javascript"

src="${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;
}
JS实现图片无间断滚动代码汇总
js动态添加onclick事件可传参数与不传参数
使用focus方法让光标默认停留在INPUT框
Node.js 服务器端应用开发框架 -- Hapi.js
js返回前一页刷新本页重载页面
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved