怎样获取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');

原文地址:https://www.cnblogs.com/toSeeMyDream/p/4363182.html