Bug with RowEditor and destroying DatePickers with fix
使用extjs3.0 里rowEditor.js 在window里 报错:this.keyNav is null
查找原因找到
http://www.sencha.com/forum/showthread.php?79605-FIXED-2.2-DatePicker.beforeDestroy-NULL-Exception
bug修复:
http://www.sencha.com/forum/showthread.php?75294-FIXED-3.0.0-Bug-with-RowEditor-and-destroying-DatePickers-with-fix
rowEditor.js
源代码:
grid.on({
scope: this,
keydown: this.onGridKey,
columnresize: this.verifyLayout,
columnmove: this.refreshFields,
reconfigure: this.refreshFields,
beforedestroy : this.beforedestroy,
destroy : this.destroy,
bodyscroll: {
buffer: 250,
fn: this.positionButtons
}
});
修正:
var scope = this;
grid.on({
scope: this,
keydown: this.onGridKey,
columnresize: this.verifyLayout,
columnmove: this.refreshFields,
reconfigure: this.refreshFields,
destroy : function () { scope.removeAll(false); scope.destroy(); },
bodyscroll: {
buffer: 250,
fn: this.positionButtons
}
});
分享到:
相关推荐
经典编程900例(C语言),主要是C基础知识
常用Extjs工具:Extjs.util.Format使用方法,需要的朋友可以参考下
1、Ext.TabPanel简单使用 代码:
做个extjs 与dwr结合的例子dwr2.0 jdk6.0 dwr 取不到数据 困扰了我一天 后来下载了xalan.jar 包导入工程 ok 2009-8-16 10:18:39 org.directwebremoting.util.CommonsLoggingOutput info 信息: DWR Version 2.0.5 ...
资源分类:Python库 所属语言:Python 资源全名:collective.js.extjs-1.4.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
ExtJs3下拉树 分两种方式调用:第一种: xtype : 'combotree', name : 'dm', fieldLabel : 'dm', tree : this.ct this.ct = new Ext.tree.TreePanel({ autoScroll : true, height : 250, border : false, ...
ExtJs.Instruction.txt 执行(1)时做的说明,因为在执行数据脚本的时候要修改一下本地路径。 01 ExtJs.SourceCode 里包含的是项目源文件,简单三层。 ExtJs.BLL ExtJs.DAL ExtJs.Model ExtJs.WebSite 02 ExtJs....
ExtJS基础教程..................
EXTJS-4.2.1.883
ExtJs原生批量上传 + 实时进度 Ext.define('MyApp.ux.upload.UploadWindow', { extend: 'Ext.window.Window', height: 400, width: 700, title: '文件上传', closeAction: 'hide', maximizable: true, ...
ExtJS3.3版本中Window存在BUG,如下代码: Ext.onReady({ var _window = new Ext.Window({ title:"测试窗体", layout:"form", width:300, plain:true, items:{ xtype:"textfield", ...
EXTJS 3[1].0 API中文文档
深入浅出ExtJS(完整版).part3.rar
org.apache.jasper.JasperException: /WEB-INF/tags/ext/body.tag(105,4) PWC6038: "${empty(extLocation)?"js/ext-2.0":extLocation}" contiene expresiones no válidas: javax.el.ELException: Error Parsing: ...
ExtJS_V2.0教程.pdf ExtJS_V2.0教程.pdf
ExtJs3[1].0中文API 有他学起来更容易。。(*^__^*) 嘻嘻……
ExtJs选中var editor = new Ext.ux.grid.RowEditor详解.txt
前台采用ExtJs 2.2.1编写(由于库文件比较大,考虑到大家本机都有了,所以在此没有上传,大家直接改一下路径即可),后台采用asp+access编写(看文件名就知道了). 本例子演示的4级联动菜单:州+国家+城市+地区
关于这个原因有很多种,我只说下我遇到的 我这样 写Store来复用的 代码如下: DocStore = Ext.extend(Ext.data.Store,{ initComponent:function(){ this.proxy = new Ext.data.HttpProxy({url:this.url}); this....