Extjs之EditorGridPanel的beforeedit事件参数
来源:互联网 发布:php 设置 argv 编辑:程序博客网 时间:2024/06/05 09:34
beforeedit : ( Object e )
只有一个事件(edit event)参数,但这个参数内容很丰富,可以满足很多需求。
参数分别如下:
grid – 表格本身
record – 你要编辑的那一行记录
field – 你编辑的列名
value – 你编辑的值
row – 行号
column – 列号
cancel – 设这个为true或者return false可以取消编辑(不显示那个编辑框)
其次,具体写法可参考:
var grid=new Ext.grid.EditorGridPanel({ title:'测试列表', //el:'grid', renderTo:'grid', width:800, height:300, autoScroll:true, store:ds, cm:cm, sm:sm, listeners:{ 'beforeedit':function(o){ var createBarcodeType = o.record.get('createBarcodeType'); if(createBarcodeType == '1') return true; else return false; } } });
- Extjs之EditorGridPanel的beforeedit事件参数
- Extjs EditorGridPanel afteredit 事件的用法
- ExtJS学习之EditorGridPanel
- ExtJS学习之EditorGridPanel
- ExtJS梦想之旅(八)--GridPanel和EditorGridPanel的使用
- Easyui edatagrid添加beforeEdit事件
- Extjs EditorGridPanel功能
- Extjs listener事件处理的参数问题
- Extjs EditorGridPanel的使用.(数据从后台读出) asp.net
- ExtJS EditorGridPanel中时间日期编辑问题的总结
- extjs的EditorGridPanel修改数据后怎样保存到数据库
- ExtJS EditorGridPanel中时间日期编辑问题的总结
- ExtJS EditorGridPanel中时间日期编辑问题的总结
- ExtJS EditorGridPanel 中 时间日期 编辑 问题的总结
- Extjs的EditorGridPanel修改数据后怎样保存到数据库
- Extjs:把EditorGridPanel表头的全选checkbox去掉
- Extjs控件EditorGridPanel中使用自定义的editor
- Extjs控件EditorGridPanel中使用自定义的editor
- Linux下c语言实现将一个目录下的所有文件和目录复制到另一个目录下
- javascript JSON.stringify
- Css 鼠标样式
- android Viewpager 左右滑动类似桌面的实现
- 查看Oracle中的隐含参数
- Extjs之EditorGridPanel的beforeedit事件参数
- 执行上下文栈
- WebApp与Native App有何区别
- 【C语言】13-指针和字符串
- 2013年12月4日周2
- 【C语言】14-返回指针的函数与指向函数的指针
- TCP中的定时器
- 【C语言】15-预处理指令1-宏定义
- MFC注册窗口类以及FindWindow按窗口类名查询