本节主要介绍了extjs 如何给column 加上提示,需要的朋友可以参考下
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; }
以上就是extjs 如何给column 加上提示的详细内容,更多请关注易知道|edz.cc其它相关文章!