随笔分类 - EXTJS 4.2
EXTJS 4.2
摘要:{ xtype: "fieldcontainer", layout: "hbox", items: [ { fieldLab...
阅读全文
摘要:隐藏:form_Step3_1_left.form.findField('CPTypeId').setVisible(false);显示:form_Step3_1_left.form.findField('CPTypeId').setVisible(true);禁止:form_Step3_1_lef...
阅读全文
摘要:写两个数据源:1.IM_ST_Module.js{ success:true, data:[ { ModuleId: '1', ModuleName: '资讯' } , { ModuleId: '2', ModuleName: '交流' } ...
阅读全文
摘要://**************页面主体开始***************** var tabpanel = Ext.createWidget('tabpanel', { activeTab: 0, //指定默认的活动tab ...
阅读全文
摘要:1.下面是一个btn按钮的代码,默认不可以点击{ id: 'skipStep3', disabled: true,//默认不可点击 text: "跳转第三步", handler: ...
阅读全文
摘要:http://www.shuyangyang.com.cn/jishuliangongfang/qianduanjishu/2013-11-17/179.html
阅读全文
摘要:如图:var ParentContCateId = 0;var start = 0;var limit = 20;DistributionPointForm = function () { Ext.define('Warehouse', { extend: 'Ext.data.M...
阅读全文
摘要:代码:{xtype:'label',id:'label',labelSeparator :'', // 去掉laebl中的冒号fieldLabel : '这是个label'}赋值:Ext.getCmp('label').setText("我是label!哈哈");
阅读全文
摘要:代码: labelSeparator: '', // 去掉laebl中的冒号labelWidth: 10,//控件label的长度
阅读全文
摘要:下面是一个登陆页面调用的EXTJSlogin function,通过 url: '/UI/HttpHandlerData/Login/Login.ashx',获取返回登陆账户和密码!Ext.onReady(function () { login = function (target) { ...
阅读全文
摘要:1.html页面代码: 2.Extjs代码 FunctionActionUpdate = function (ContentCategory) { var width = document.getElementById('component').cl...
阅读全文
摘要:columns: [ { header: '序号', xtype: 'rownumberer', align: 'center', width: 100 }, { header: 'CompanyId', dataInde...
阅读全文
摘要://这里要跳转页面 var subWindow = new Ext.Window({ title: '窗口', width: width, height: height, ...
阅读全文
摘要:1.页面1.1点击‘横幅’,需要动态显示隐藏文本框 { xtype: 'fieldset', title: '指定附加图&横幅设置', collapsible: true, items: [ ...
阅读全文
摘要:最大化,最小化,是否显示关闭按钮var win_CommonPicLibMultiple = Ext.create("Ext.window.Window", { title: "选择图片", //标题 draggable: false, border: false, ...
阅读全文
摘要:{ xtype: "textfield", width: 100, id: "txtGroupName", name: "txtGroupName", listeners: { change: function (t, newV, oldV, eOp...
阅读全文
摘要:在开发中遇到两种情况:第一在新增窗体时,要动态加载CheckBox项;第二在修改时不但需要加载所有CheckBox项,还要并且选中之前新增时的选项如图这是在修改页面的效果:1.在新增窗体中动态加载checkboxgroup1.1在新增窗体代码片段: { xt...
阅读全文
摘要:columns: [ { header: '序号', xtype: 'rownumberer', align: 'left', width: 50 }, { header: '货位编号', dataIndex: 'Sto...
阅读全文
摘要:最近在EXTJS4.2开发项目,radiogroup的用法,主要是和grid之间的编辑功能;看了好多资料都不对,特此在这里备注记录代码如下,1.这是一段Win窗体上的两个单选按钮,设置单选按钮都是选择“是”a、 { xtype: 'fieldcontainer', ...
阅读全文
摘要:EXTJS API 链接:http://docs.sencha.com/extjs/5.0.0/http://docs.sencha.com/extjs/4.2.2/http://docs.sencha.com/extjs/4.2.1/有中文版 API 网页:http://extjs-doc-cn....
阅读全文