首页 > 代码库 > MiniUI级联

MiniUI级联

OnCellCommitEdit: function (e) {
            var grid = e.sender;
            var record = e.record;
            var field = e.field, value = http://www.mamicode.com/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 });
            }
        },

MiniUI级联