随笔分类 -  extjs4.1

摘要:单个禁用 单个隐藏 全部按钮 字段 只读 阅读全文
posted @ 2018-02-08 15:50 zfzf1 阅读(113) 评论(0) 推荐(0)
摘要:{ xtype: 'textfield', name: 'latitude', fieldLabel: '纬度', xtype: 'numberfield', editable: true, allowBlank:false, decimalPrecision: 3, // 精确地小数点后 allo 阅读全文
posted @ 2018-02-05 16:35 zfzf1 阅读(215) 评论(0) 推荐(0)
摘要:{ xtype: 'label', columnWidth: .20, text: '<w≤'} 阅读全文
posted @ 2018-02-05 16:02 zfzf1 阅读(107) 评论(0) 推荐(0)
摘要:{ xtype: 'container', html: '&nbsp;', height: 52, columnWidth:.3} 阅读全文
posted @ 2018-02-05 15:43 zfzf1 阅读(177) 评论(0) 推荐(0)
摘要:定义全局检验函数 阅读全文
posted @ 2018-01-27 11:15 zfzf1 阅读(220) 评论(0) 推荐(0)
摘要:listeners:{ afterrender:function(cmp, eOpts ){ for(var i=0;i<cmp.store.getCount();i++){ ... 阅读全文
posted @ 2017-11-28 09:19 zfzf1 阅读(246) 评论(0) 推荐(0)
摘要:支持 查询,修改,增加 阅读全文
posted @ 2017-10-31 09:38 zfzf1 阅读(1241) 评论(0) 推荐(0)
摘要:tempOptRecord.data.prizeUnitSiteCodeCount = me.calcGoodPrizeSiteNumber(me.store);bomGrid.reconfigure(bomStore);等价于tempOptRecord.set('prizeUnitSiteCodeCount',me.calcGoodPrizeSiteNumber(me.store));切换数据源... 阅读全文
posted @ 2017-09-06 15:19 zfzf1 阅读(199) 评论(0) 推荐(0)
摘要:ExtJS 4.2 组件的查找方式 ExtJS 4.2 组件的查找方式 组件创建了,就有方法找到这些组件。在DOM、Jquery都有各自的方法查找元素/组件,ExtJS也有自己独特的方式查找组件、元素。本次从全局查找、容器内查找、form表单查找、通用组件等4个方面介绍组件的查找方式。 目录 1.  阅读全文
posted @ 2017-08-25 00:36 zfzf1 阅读(677) 评论(0) 推荐(0)
摘要:1、auto(默认)2、string3、int4、float5、boolean6、date 阅读全文
posted @ 2017-04-29 21:07 zfzf1 阅读(437) 评论(0) 推荐(0)
摘要:getClass : function(v, metadata, record){ if(record.data['storageState']!='CHECK_NO'){ return 'x-hidden'; }else{ return 'deppon_icons_edit'; }}, 阅读全文
posted @ 2017-04-19 23:31 zfzf1 阅读(272) 评论(0) 推荐(0)
摘要:print.css(不需要) print.js /** * @class Ext.ux.grid.Printer * @author Ed Spencer (edward@domine.co.uk) * Helper class to easily print the contents of a g 阅读全文
posted @ 2017-04-10 20:42 zfzf1 阅读(419) 评论(0) 推荐(0)
摘要:Ext.window.Window第一次 设置 title属性给予赋值,第二次无效,通过 setTitle解决 Ext 常规新增/修改集成+表单验证操作 form items window buttons // 保存按钮 saveButton : null, getSaveButton : func 阅读全文
posted @ 2017-04-09 19:01 zfzf1 阅读(205) 评论(0) 推荐(0)