EasyUI获取正在编辑状态行的索引

function getRowIndex(target){

var tr = $(target).closest("tr.datagrid-row");

return paseInt(tr.attr("datagrid-row-index"));

}

然后用getRowIndex(this)即可获取当前编辑行的索引

版权声明:如需转载,请注明!PS:如是转载随便,请忽略
原文地址:https://www.cnblogs.com/zwdx/p/7193140.html