首先获取easyui当前的editor,然后看代码就可以了
var Index = $("#draw").datagrid("appendRow", {
Ext1: '',
Ext2:'1',
PayCount: '',
PayData: new Date().getYear+"-"+new Date().getMonth+"-"+new Date().getDay,
Delete: ''
}).datagrid("getRows").length - 1;
$("#draw").datagrid("beginEdit", Index);
var edi = $("#draw").datagrid("getEditors", Index);
var smedit = edi[1];
$(smedit.target).combobox({
url: '/T/T_CusInfo/GetCard?id=' + $("#Id").val()
})