Ext之from表单操作
来源:互联网 发布:慧商软件 编辑:程序博客网 时间:2024/06/15 02:02
1.from表单赋值
var customerItem = Ext.create('Lube.model.customer.CustomerInfoDetailModel',data);var form = customerinfoorgdetailview.down('form');form.loadRecord(customerItem);2.获取from表单所有数据
button.up('form').getValues();3.from表单验证
readOnly:true,editable:false,allowBlank:falseform.isValid()
4.from动态级联
{xtype : 'combo',fieldLabel : '子类别',editable : false,labelWidth : 60,columnWidth : .33,labelAlign : 'right',name :'type1',displayField : 'itemName',valueField : 'itemCode',store : Ext.create('Lube.store.system.DictionaryItemStore',{dictionaryCode : dictionarycode_customerType,pItemCode : null}),listeners : {change: function (combo, newValue, oldValue, eOpts) {if(newValue!=null){var type2 = combo.ownerCt.down('[name=type3]');type2.setValue('');type2.getStore().pItemCode = newValue;type2.getStore().load();}}}},{xtype : 'combo',fieldLabel : '子子类别',editable : false,labelWidth : 60,labelAlign : 'right',columnWidth : .33,name :'type2',displayField : 'itemName',valueField : 'itemCode',store : Ext.create('Lube.store.system.DictionaryItemStore',{dictionaryCode : dictionarycode_customerType,pItemCode : null})}
0 0
- Ext之from表单操作
- Ext之GridPanel操作
- Ext清空from表单中输入的值
- jQuery对from表单元素的操作
- EXT表单
- Ext 表单
- EXT表单
- javascript之表单操作
- javascript之表单操作
- from表单
- RxJava之from操作符
- EXT UI 之 Panel 和 form 表单 的一些笔记
- Ext JS4序列教程之四:form表单
- (七)ExtJs之表单[Ext.form.FormPanel]的使用
- JavaScript基础之操作表单
- Ext操作DOM元素之insertHtml
- Ext.from.FormPanel
- ext表单控件
- pom.xml文件报错:Plugin execution not covered by lifecycle..
- selenium 定位 页面上两个完全一样的元素
- Longest Palindromic Substring Leetcode Python Java
- 【caffe-Windows】mnist实例编译之model的生成
- 项目实训笔记
- Ext之from表单操作
- LINQ :First、FirstOrDefault使用;Max、Min使用
- <context:component-scan/> <mvc:annotation-driven />
- Fast R-CNN 论文笔记
- 刷新DNS
- C++指针使用的实验_初级篇1
- iOS-block
- 缓存穿透、缓存并发、缓存失效之思路变迁
- URL和URI 的区别