加属性 formatterjs="jsmouseover"
function jsmouseover(value, row, index) { return "<a href='#' style='color:#000000' onmouseover='saveData1(" + index+ ")'>" + value+ "</a>"; } function saveData1(index) { var rows = $("#aeoEmployeeApplyList").datagrid('getRows'); var row = rows[index]; tip(row.applyDes) }