码迷,mamicode.com
首页 > 其他好文 > 详细

MiniUI级联

时间:2014-12-05 17:11:47      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:io   ar   sp   on   bs   cti   as   nbsp   ui   

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 });
            }
        },

MiniUI级联

标签:io   ar   sp   on   bs   cti   as   nbsp   ui   

原文地址:http://www.cnblogs.com/hornet/p/4146974.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!