extjs 如何給column 加上提示
更新時間: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使用說明
ExtJS 關(guān)閉TabPanel內(nèi)的Panel時使用TabPanel的'beforeremove’和其內(nèi)的Panel的'beforeclose’事件彈出關(guān)閉確認(rèn)提示對話框2010-03-03
ExtJs 學(xué)習(xí)筆記基礎(chǔ)篇 Ext組件的使用
昨天剛接觸到Extjs,簡單寫了篇學(xué)習(xí)筆記,今天繼續(xù)。2008-12-12
EXTJS記事本 當(dāng)CompositeField遇上RowEditor
用RowEditor作批量編輯器時,遇到一個問題,想要在Roweditor中使用三個下拉列表組成級聯(lián)式選擇控件2011-07-07
Extjs學(xué)習(xí)筆記之九 數(shù)據(jù)模型(上)
本文開始進入Extjs最核心最優(yōu)秀的部分。2010-01-01

