摘要: 如上图所示,当修改某个属性值,成功提交后,dirty的小三角不会自动清除,这个是官方treegrid的一个bug,目前尚未解决。bug:http://www.sencha.com/forum/showthread.php?141144-4.0.2a-TreeStore-doesn-t-clear-dirty-flag-on-updated-record目前的解决办法:在TreeStore的最末端,添加如下代码:onUpdateRecords: function (records, operation, success) { records = operation.records;... 阅读全文
posted @ 2013-08-12 14:57 jackchain 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 需要反射的DLL里的一个类:namespace ElegantWM.WebUI.Areas.Admin.Controllers{ [Description("功能模块管理")] public class ModuleController : BaseController { [Action] [Description("根据系统编号,获取系统的功能模块")] [HttpGet] public string Get(Guid sysId) { ... return ... 阅读全文
posted @ 2013-08-12 14:18 jackchain 阅读(2909) 评论(0) 推荐(0) 编辑