![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ext
chong271353856
这个作者很懒,什么都没留下…
展开
-
EXTJS 内建函数调用问题
[code="java"] Ext.eim.EIMPanel = function (config){ this.eiGrid = new Ext.eim.EIGrid({ tbar : [ {xtype:'button',text:'新增',listeners : {click : this.addEI}}, {xtype:'button',text:...2010-03-23 15:31:24 · 236 阅读 · 0 评论 -
extjs comp is undefined }else if(!comp.events)
产生此ERROR的原因是因为你的组件加载的顺序有问题. 如果你用的是异步调用加载数据,那么出现这个问题会经常出现. 解决办法有两种, 1 . 在组件初始化之前执行数据加载 [code="js"] function Custom(configs){ Ext.apply(this,configs); this.initCmp(); Custom.superclass.constr...原创 2010-01-28 10:39:08 · 152 阅读 · 0 评论 -
Ext 2.0 > Ext 3.0 同步请求
EXT 2.0 同步请求 [code="js"] var conn = Ext.lib.Ajax.getConnectionObject().conn; //METHOD 请求方法 (GET,POST) //URL 请求地址 //ASYNC 是否异步( TRUE 异步 , FALSE 同步) conn.open(method,url,async); //要发送的数据 conn.se...原创 2010-01-28 10:47:54 · 146 阅读 · 0 评论 -
EXT 常见错误
[color=red]Ext is undefined[/color] 出现以上错误是因为,没有正确的导入EXT JS库 [color=red]this.onMetaChange is undefined[/color] 出现以上错误是因为Store忘记了使用new关键字 [color=red]this.addEvents is not a function[/color] 出现...2010-04-27 16:22:52 · 199 阅读 · 0 评论 -
EXT CSS问题
ColumnLayout显示不正常时,请查询HMTL文件的头信息. 更正为以下 : [code="html"][/code] 在FormLayout中要使一行放几个控件: [code="js"] { xtype:'form', layout : 'column', items:[ {layout:'form',items:{xtype:'textfiel...2010-05-05 15:01:37 · 91 阅读 · 0 评论 -
Ext EditorGridPanel 添加一行.通用解决办法
[code="js"] insertRows : function(){ /* this = EditorGridPanel this.store.recordType() = Recrod类型 */ var recrod = new this.store.recordType(); /* 因为有的时候我们不是通过E...原创 2010-05-10 13:29:13 · 404 阅读 · 0 评论 -
Extjs createDelegate 方法使用
关于Extjs 的 createDelegate我也接触不久。 我们自己写一个组件,使用继承时。我们会在继承中写: [code="js"] Ext.MyCmp = function(config){ Ext.apply(this,config); this.message = 'show message method run'; this.buttons = [...原创 2010-06-07 14:55:05 · 178 阅读 · 0 评论 -
Extjs Grid loadMask 蒙版
我们在很多时候都需要使用到蒙版,可能有很多人对这个词语不太了解,其实蒙版相当于一个弹出的模式窗口,他覆盖整个页面!当然我们在加载数据时,不希望用户进行操作就需要用到蒙版,显示一些等待信息,如:加载数据中,请稍候...等等。 在Ext中,这变得非常简单。 [code="js"] var myMask = new Ext.LoadMask(Ext.getBody(), {msg:"Please ...原创 2010-06-22 11:22:07 · 250 阅读 · 0 评论 -
Extjs ie6/7/8兼容
大家在开发时很容易遇到ie版本的兼容问题。 我这里也碰到了几个这样的问题。 1.就是form 表单排列,只能竖排。 Exception Code: [code="js"] var form = new Ext.form.FormPanel({ layout : 'column', items : [ { xtype:'panel', ...原创 2010-06-22 11:54:37 · 263 阅读 · 0 评论