JSP中:数据网格定义中
<th data-options="field:‘_operate‘,width:80,align:‘center‘,formatter:formatOper">操作</th>
关键是 formatter:formatOper
js中代码:
连接easyui中元件与动作
function formatOper(val,row,index){
return ‘<a href="#"
}
//具体逻辑动作
function editer(index){ }
原文:http://8942041.blog.51cto.com/8932041/1710344