如何用文本創建ExtJs 4網格動作列? 這是我的代碼用文字創建Extjs 4網格動作列?
{
xtype : 'actioncolumn',
text : lang('publish'),
width : 100,
tdCls: 'x-publish-cell',
items : [{
getClass : function(v, meta, rec) {
if (rec.get('isPublished') == true) {
//this.items[0].tooltip = 'Test';
return 'y';
} else {
return 'n';
}
}
}
如何用文字創造ExtJS的4格操作列?
你想讓它成爲沒有圖像或圖像的文字嗎? – Reimius
文字與圖像。像[圖片] [這裏的文字] – user2622564