正常显示:
为了调整代码阅读性,结果,可能java写习惯了。
换行可以不能return后面空着哦。
----------
{
field : 'a11',
title : '操作',
width : 15,
formatter : function(value, row, index)
{
return "" +
"<a style='color:#000' href='javascript:void(0)' onclick=detail('" + row[0] + "')><i class='fa fa-list' style='color:#0062BD'>详情</i></a> " +
"<a style='color:#000' href='javascript:void(0)' onclick=edit('" + row[0] + "')><i class='fa fa-edit' style='color:#0062BD'>修改</i></a> ";
}
}