源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

extjs 如何给column 加上提示

  • 时间:2021-03-29 05:28 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:extjs 如何给column 加上提示
<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;
}
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部