配置可以选择批量记录的grid---Ext.grid.EditorGridPanel
来源:互联网 发布:小米4 备份数据至u盘 编辑:程序博客网 时间:2024/05/22 14:48
这个需要注意的就是下面粗体的地方。多一个SM。这个SM就是CheckboxSelectionModel。将这个配置到ColumnModel中。表格就成为可以选择的了。//grid的checkbox要配置的选项var sm=new Ext.grid.CheckboxSelectionModel(); //表格的cm属性.这里将sm设置在里头 var cm=new Ext.grid.ColumnModel([sm, {header:'功能名称',dataIndex:'1'}, {header:'URL',dataIndex:'2'}, {header:'类型',dataIndex:'3'}, {header:'显示位置',dataIndex:'4'}, {header:'LOAD加载',dataIndex:'5'}, {header:'激活状态',dataIndex:'6'}, {header:'是否弹出',dataIndex:'7'}]); //可编辑的表格 var grid = new Ext.grid.EditorGridPanel({ width:600, height:200, cm:cm, sm:sm });
效果截图:
- 配置可以选择批量记录的grid---Ext.grid.EditorGridPanel
- Ext.grid.EditorGridPanel
- Ext.grid.EditorGridPanel 实例
- Ext.grid.EditorGridPanel
- Ext.grid.EditorGridPanel使用方法
- Ext.grid.EditorGridPanel使用方法
- Ext.grid.EditorGridPanel
- Ext.grid.EditorGridPanel 使用'afteredit'
- Ext.grid.EditorGridPanel使用方法 1
- Ext.grid.EditorGridPanel的下拉列表框combox 根据选择获取值
- Ext.grid.EditorGridPanel的使用、修改记录的获取及提交方法
- Ext.grid.EditorGridPanel的使用、修改记录的获取及提交
- EXT EditorGridPanel 中使用Ext.grid.CheckColumn
- 关于Ext.grid.EditorGridPanel使用中遇到的问题
- ext.grid.EditorGridPanel 向后台传送数据
- 可编辑表格:Ext.grid.EditorGridPanel
- 关于ext中使用 Ext.grid.CheckboxSelectionModel作为选择框如何保存选中记录的解决方法。
- Ext 表格运用-Ext.grid.EditorGridPanel(带分页)
- pyton中类的变量与对象的变量误用
- ADT 16.0.0 发布
- 【百度地图API】如何进行地址解析与反地址解析?——模糊地址能搜索到精确地理信息!
- 将日期字符串格式化为年月日格式如2011-12-14 、16日、18日-19日、21日、23日、25日-26日、28日
- JavaScript秘密花园 - hasOwnProperty,Functions,this
- 配置可以选择批量记录的grid---Ext.grid.EditorGridPanel
- <一> Handler的定义
- 通用 log 日志库。
- Ant脚本
- (感悟人生)俞敏洪之告诫男生(摆脱大学迷茫)
- Filter过滤器实现权限控制
- 解决MySQL无法远程访问的方法
- 有关awk字段分隔符
- 对称性的自发破缺