Ext miscellany 整理
来源:互联网 发布:cms哪个好 编辑:程序博客网 时间:2024/06/18 18:05
Initial a load mask.
newExt.LoadMask( el, config ) :
Parameters
- el : Mixed
The element or DOM node, or its id
- config : Object
The config object
使用query获取store中的records
Query the records by a specified property.
Parameters
- field : String
A field on your records
- value : String/RegExp
Either a string that the field should begin with, or a RegExp to test against the field.
- anyMatch : Boolean (optional)
True to match any part not just the beginning
- caseSensitive : Boolean (optional)
True for case sensitive comparison
Returns
- MixedCollection
Returns an Ext.util.MixedCollection of the matched records
如: store.query('attributeId', primaryKey).get(0).get('attributeName');得到的是attributeId是primaryKey中attributeName的值。
Ext相关链接 http://docs.sencha.com/extjs/3.4.0/#!/api/Ext.data.Store
设置Component的可见性
setVisible( visible ) :
另一种方法,在item里配hidden属性
Render this component hidden (default is false). If true, the hide method will be called internally.
销毁Component
Destroys this component by purging any event listeners, removing the component's element from the DOM, removing the component from its Ext.Container (if applicable) and unregistering it from Ext.ComponentMgr. Destruction is generally handled automatically by the framework and this method should usually not need to be called directly.
设置元素为只读,不可编辑
disabled : true
设置最大输入长度
maxLength : Number
Maximum input field length allowed by validation (defaults to Number.MAX_VALUE). This behavior is intended to provide instant feedback to the user by improving usability to allow pasting and editing or overtyping and back tracking.
maxLengthText : String
Error text to display if the maximum length validation fails (defaults to 'The maximum length for this field is {maxLength}')
Ext相关链接 http://docs.sencha.com/extjs/3.4.0/#!/api/Ext.form.TextField-cfg-maxLength
- Ext miscellany 整理
- d3 miscellany 整理
- Js miscellany 整理
- CSS miscellany 整理
- JQuery miscellany 整理
- Liferay miscellany 整理
- Java miscellany
- Ext布局学习整理
- Ext.net 常见问题整理
- Chapter 9 : Miscellany
- Ext Js 开发笔记整理
- Ext之IE8问题整理
- effective C++ 学习(Miscellany)
- Effective C++ 读书笔记之Part9.Miscellany
- Ext.js问题重现整理(3)(combo)
- ext
- ext
- ext
- Bash 获取当前函数名
- 计算π的近似值
- log4j学习笔记--ConversionPattern参数详解-- RollingFileAppender选项
- 带有标题头的listview
- Android常见命令
- Ext miscellany 整理
- #ubuntu# ubuntu 下安装 phpstorm
- Android应用程序 Android制作简单单页导航
- CDISC SDTM HO domain学习笔记
- label包裹input,点击label,label响应两次
- Android断点下载,多线程下载
- MYBATIS Generator
- 安卓简单开发-button的点击效果
- java反射机制