社区
JavaScript
帖子详情
Extjs window-->FormPanel定义的输入项,tab键切换输入
wzq15136423713
2015-07-20 04:38:29
Ext定义window 包含一个formPanel , formpanel包含多个输入项 ,怎么实现tab键的切换输入? 不要一个一个加监听,太麻烦了。。。
...全文
145
4
打赏
收藏
Extjs window-->FormPanel定义的输入项,tab键切换输入
Ext定义window 包含一个formPanel , formpanel包含多个输入项 ,怎么实现tab键的切换输入? 不要一个一个加监听,太麻烦了。。。
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
wzq15136423713
2015-07-27
打赏
举报
回复
查了一下,可能是由于ext版本问题造成的,这个代码在ext4上使用tab切换没有问题,但是在ext5是不行的。
wzq15136423713
2015-07-24
打赏
举报
回复
window外的textfield是可以tab键切换输入的,但是不知道为什么window里边的不行,而且点击tab键只能切换window外的元素。
bluegone
2015-07-24
打赏
举报
回复
这个是我实现的windows,在editgridpanel中是没有问题的
bluegone
2015-07-22
打赏
举报
回复
extjs 中的textfield默认就可以用TAB键切换至下一个
AnyFo_-_
ExtJS
_移魂大法
AnyFo_-_
ExtJS
_移魂大法AnyFo_-_
ExtJS
_移魂大法AnyFo_-_
ExtJS
_移魂大法
ExtJs
使用过程中积攒的一些东西
主要记了一些使用
ExtJs
经常要用的东西和一些经验,比较简单,以后使用过程中还会慢慢补充,对Ext使用还不熟练的人可以看看
老师整理的
extjs
学习笔记
老师整理的
extjs
学习笔记,和大家共享
Ext组件描述,各个组件含义
xtype Class box Ext.BoxComponent 具有边框属性的组件 Button Ext.Button 按钮 colorpalette Ext.ColorPalette 调色板 component Ext.Component 组件 container Ext.Container 容器
ext-2.3.0+CKEditor 3.0.1+ckfinder_asp_1.4配置详解及工程源码
ext-2.3.0+CKEditor 3.0.1+ckfinder_asp_1.4配置详解 一、去http://cksource.com/下载这两个东西 二、去http://www.
extjs
.com/下载ext-2.3.0 三、将ext-2.3.0、CKEditor 3.0.1、ckfinder_asp_1.4,取出解压后的文件夹,真接放到站点根目录,目录结构为: WEBROOT |--ckeditor |--finder |--ext-2.3.0 |--js |--css 修改ckeditor目录下的config.js如下: CKEDITOR.editorConfig = function( config ) { config.language = 'zh-cn'; //配置语言 config.uiColor = 'DFE8F6'; config.skin = 'office2003'; config.height = 320; config.width = '100%'; config.font_names = '宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;'+ config.font_names ; config.filebrowserUploadUrl = 'ckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Files'; config.filebrowserImageUploadUrl = 'ckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Images'; config.filebrowserFlashUploadUrl = 'ckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Flash'; config.filebrowser
Window
Width = '1000'; config.filebrowser
Window
Height = '700' }; 在js目录中加入ExtCkeditor.js: /**************************************************** * CKEditor Extension *****************************************************/ Ext.
form
.CKEditor = function(config){ this.config = config; Ext.
form
.CKEditor.superclass.constructor.call(this, config); }; Ext.extend(Ext.
form
.CKEditor, Ext.
form
.TextArea, { onRender : function(ct, position){ if(!this.el){ this.defaultAutoCreate = { tag: "textarea", autocomplete: "off" }; } Ext.
form
.TextArea.superclass.onRender.call(this, ct, position); CKEDITOR.replace(this.id, this.config.CKConfig); }, setValue : function(value){ Ext.
form
.TextArea.superclass.setValue.apply(this,[value]); CKEDITOR.instances[this.id].setData( value ); }, getValue : function(){ CKEDITOR.instances[this.id].updateElement(); return Ext.
form
.TextArea.superclass.getValue(this); }, getRawValue : function(){ CKEDITOR.instances[this.id].updateElement();
JavaScript
87,992
社区成员
224,698
社区内容
发帖
与我相关
我的任务
JavaScript
Web 开发 JavaScript
复制链接
扫一扫
分享
社区描述
Web 开发 JavaScript
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章