jquery easyui 添加按钮逻辑,未渲染

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){  }