OnCellCommitEdit: function (e) {
var grid = e.sender;
var record = e.record;
var field = e.field, value = e.value;
var param = {};
param.facdicId = value;
var FacDicCode = "";
if (field == "FacDicId") {
Em.Ajax({
data: param,
url: pageJs.Url.ListFacDicCodeUrl,
async: false,
success: function (jsonData) {
FacDicCode = jsonData.list;
}
});
grid.updateRow(record, { FacilityCode: FacDicCode });
}
},