获取后台数据转换
formatter: function (cellvalue, options, rowObject) { var name = ""; getAjax('/HouseModule/Y_Dictionary/BinDingItemsJson', { Code: 'houseType' }, function (data) { var itemjson = eval("(" + data + ")"); $.each(itemjson, function (i) { if (cellvalue == itemjson[i].Code) { name= itemjson[i].FullName; } }); }); return name; }