怎样获取datagrid中编辑列combobox的value值与text值

var ed = $('#dg').datagrid('getEditor', {index:editIndex,field:'productid'});
var productname = $(ed.target).combobox('getText');
var value = $(ed.target).combobox('getValue');

你可能感兴趣的:(怎样获取datagrid中编辑列combobox的value值与text值)