上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: Ext.form.field.Time拓展自Ext.form.field.Picker组件,是带下来选择框的时间框输入字段;并且有自动的时间验证功能;代码示例: (function(){ Ext.onReady(function(){ Ext.QuickTips.init(); Ext.create('Ext.form.Panel',{ ... 阅读全文
posted @ 2014-07-30 22:00 thero 阅读(271) 评论(0) 推荐(0)
摘要: Extjs 使用combo来请求数据:在运用该方法的时候可以会遇到下面的问题:1、展示的时候数据不能够展示出来解决的方法为:类当中的属性名称定义错误;reader书写的文字不正确;fields是否书写错误代码示例:前台代码示例: (function(){ Ext.onReady(function(){ Ext.regModel('BookInfo',{ ... 阅读全文
posted @ 2014-07-30 11:52 thero 阅读(905) 评论(0) 推荐(0)
摘要: Ext.form.field.comboBox主要配置内容:Ext.view.BoundList配置内容:代码示例: (function(){ Ext.onReady(function(){ Ext.regModel('PostInfo',{ fields:[{ name:'province' ... 阅读全文
posted @ 2014-07-30 11:40 thero 阅读(1194) 评论(0) 推荐(0)
摘要: radio和checkBox的用法:配置内容:(function(){ Ext.onReady(function(){ new Ext.form.Panel({ title:'Ext.form.field.checkBox和Ext.form.field.Radio示例', bodyStyle:'padding 5 5 5 5 ', frame:true, height:150, ... 阅读全文
posted @ 2014-07-28 22:02 thero 阅读(508) 评论(0) 推荐(0)
摘要: Extjs textarea中主要的内容内容和配置项目:获得表单对象的方法:var meo = testForm.getForm().findField("memo");可以获得到表单对象findField通过查找页面中id可以查找到内容示例代码:Ext.onReady(function(){ Ext.QuickTips.init(); var testForm = new Ext.form.Pa... 阅读全文
posted @ 2014-07-24 22:16 thero 阅读(1639) 评论(0) 推荐(0)
摘要: 如何在动态的修改列的显示和隐藏:下面为示例代码:if(matchStatus.getValue()=="weipp"){colMode=this.getColumnModel();var handColIndx=colMode.findColumnIndex("match");colMode.set... 阅读全文
posted @ 2014-07-24 15:00 thero 阅读(1709) 评论(0) 推荐(0)
摘要: 代码示例:1、按钮组的配置方式是按照buttongrouptable进行布局的,columns可以多少行,colspan跨几行,所以在布局的时候注意;2、在buttonggroup中,scale:'large'表示图标的大小;3、iconAlign:可以定义按钮所在的位置,上面或下面4、new Ex... 阅读全文
posted @ 2014-07-21 10:23 thero 阅读(258) 评论(0) 推荐(0)
摘要: Extjs表单中提供错误的显示的集中方式,其中有下面的几种代码事例:Ext.onReady(function(){ Ext.QuickTips.init(); var form = new Ext.form.Panel({ title:'表单', height:120, width:200, frame:true, renderTo:'toolbar', defaults:{ au... 阅读全文
posted @ 2014-07-21 10:21 thero 阅读(283) 评论(0) 推荐(0)
摘要: Extjs的主要配置内容:示例代码:Ext.onReady(function(){ Ext.QuickTips.init(); var loginForm = new Ext.form.Panel({ title:'Ext.form.field.Text示例', bodyStyle:'padding:5 5 5 5',//设置边距 frame:true, height:120, widt... 阅读全文
posted @ 2014-07-21 10:18 thero 阅读(531) 评论(0) 推荐(0)
摘要: Ext.data.Store 2013年7月24日15:43Ext.data.StoreExt.data.Store是EXT中用来进行数据交换和数据交互的标准中间件,无论是Grid还是ComboBox,都是通过它实现数据读取、类型转换、排序分页和搜索等操作的。Ext.data.Store中有一个Ext.data.Record数组,所有数据都存放在这些Ext.data.Record实例中,为后面的读... 阅读全文
posted @ 2014-07-07 14:07 thero 阅读(244) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 15 下一页