jquery easyui datagrid 单元格里如何显示图片。自带的类似icon-add的也可以。

如题所述

完全不能显示啊

温馨提示:答案为网友推荐,仅供参考
第1个回答  2014-04-09
<th field="shoes_picture" width="120" data-options="formatter:function(v){return '<img src='+v+'/>'}"><strong>SHOES_PIC</strong></th>
第2个回答  推荐于2017-05-16
在创建列的时候自己控制一下输出内容就可以了
例子:

columns:[[
{title:'图片',field:'image',width:100,align:'center',
formatter:function(value,row,index){return '<img src="'+row.image+'" />';}
}
]]本回答被网友采纳
第3个回答  2012-07-04
说实话 我也想知道
第4个回答  2011-09-22
重新布局 layout north:菜单;center:列表;