摘要: gridpanel显示checkbox: 添加SelectionModel为Checkbox Selection Model { xtype: 'gridpanel', id: 'Grid1', header: false, title: '条线列表', deferRowRender: false, 阅读全文
posted @ 2016-02-26 14:44 Ace001 阅读(2003) 评论(1) 推荐(0)
摘要: 服务端 bool isRunning = true; MouseKeyBoard mk = new MouseKeyBoard();void InitTcpServer(int port) { Thread t = new Thread(() => ... 阅读全文
posted @ 2015-12-29 11:21 Ace001 阅读(3245) 评论(1) 推荐(0)
摘要: NewsType结构: Id ParentId Name children(List<NewsType>) public void LoopToAppendChildren(List<NewsType> all, NewsType curItem) { var subItems = all.Wher 阅读全文
posted @ 2015-12-07 19:52 Ace001 阅读(12205) 评论(6) 推荐(5)
摘要: { xtype: 'gridpanel', region: 'north', height: 150, title: 'My Grid Panel... 阅读全文
posted @ 2015-11-26 16:01 Ace001 阅读(505) 评论(0) 推荐(0)
摘要: 标题列包含 审核通过则绿色,包含拒绝为红色:{ xtype: 'gridcolumn', renderer: function(value, metaData, record, rowInde... 阅读全文
posted @ 2015-11-26 15:48 Ace001 阅读(480) 评论(0) 推荐(0)
摘要: dynamic类型 简单示例 dynamic expando = new System.Dynamic.ExpandoObject(); //动态类型字段 可读可写 expando.Id = 1; expando.Name = "Test"; string json = Utils.ConvertJ 阅读全文
posted @ 2015-11-14 17:25 Ace001 阅读(19546) 评论(5) 推荐(5)
摘要: 原文地址:http://www.cnblogs.com/xuejianxiyang/p/4960042.html 阅读全文
posted @ 2015-11-12 19:30 Ace001 阅读(9015) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 16 17 18 19 20 21 Needed Properties: sender.offsetTop & sender.offsetLeft & sender.offsetHeight22 23 24 25 原文地址:... 阅读全文
posted @ 2015-11-12 18:48 Ace001 阅读(8053) 评论(0) 推荐(1)
摘要: combobox下拉框的store除了可以选择一个jsonstore来加载数据,还可以直接使用符串Array做数据源.{ xtype: 'combobox', fieldLabel: 'Label', ... 阅读全文
posted @ 2015-10-28 10:27 Ace001 阅读(425) 评论(0) 推荐(0)
摘要: ajax的post注意事项注意post请求的Content-Type为application/x-www-form-urlencoded,参数是在请求体中,即上面请求中的Form Data(后台通过Request.Form["name"]来获取)。如果Content-Type为application... 阅读全文
posted @ 2015-10-16 14:59 Ace001 阅读(7195) 评论(2) 推荐(1)