easyui 在datagrid 中的 combox reload方法要如何使用
easyui 在datagrid 中的 combox reload方法要怎么使用?
<th data-options="field:'fShipCom',width:100,align:'center',
formatter:function(value,row){
return row.fShipCom;
},
editor:{
type:'combobox',
options:{
valueField:'fShipCom',
textField:'fShipCom',
url:'ShipPlan.ashx?act=getShipCom',
onChange :function(){
var row = $('#dg').datagrid('getSelected');
var_fShipCom = row.fShipCom;
//alert(var_fShipCom);
},
required:true
}
}">船公司</th>
<th data-options="field:'fShipName',width:100,align:'center',
formatter:function(value,row){
return row.fShipName;
},