extjs 如何给column 加上提示
extjs 如何给column 加上提示
发布时间:2016-12-30 来源:查字典编辑
摘要:renderer:function(value,metaData,record,rowIndex,colIndex,store){//pro...

<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; }

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新Javascript教程学习
热门Javascript教程学习
编程开发子分类