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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章