extjs 如何給column 加上提示
更新時(shí)間:2014年07月29日 11:31:24 投稿:whsnow
本節(jié)主要介紹了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;
}
相關(guān)文章
ExtJS TabPanel beforeremove beforeclose使用說(shuō)明
ExtJS 關(guān)閉TabPanel內(nèi)的Panel時(shí)使用TabPanel的'beforeremove’和其內(nèi)的Panel的'beforeclose’事件彈出關(guān)閉確認(rèn)提示對(duì)話框2010-03-03
ExtJs 學(xué)習(xí)筆記基礎(chǔ)篇 Ext組件的使用
昨天剛接觸到Extjs,簡(jiǎn)單寫了篇學(xué)習(xí)筆記,今天繼續(xù)。2008-12-12
EXTJS記事本 當(dāng)CompositeField遇上RowEditor
用RowEditor作批量編輯器時(shí),遇到一個(gè)問(wèn)題,想要在Roweditor中使用三個(gè)下拉列表組成級(jí)聯(lián)式選擇控件2011-07-07
Extjs學(xué)習(xí)筆記之九 數(shù)據(jù)模型(上)
本文開始進(jìn)入Extjs最核心最優(yōu)秀的部分。2010-01-01
Ext JS Grid在IE6 下寬度的問(wèn)題解決方法
Grid設(shè)置為autoWidth:true時(shí)在ie6下寬度為10000px2009-02-02

