Extjs EditorGridPanel中ComboBox列的显示问题
为了解决这个问题需要在EditorGridPanel的ColumnModel中显示ComboBox的地方使用renderer属性,重新渲染,方法如下: 实现代码如下: //部门列表 var comboxDepartmentStore = new Ext.data.Store({ proxy: new
为了解决这个问题需要在EditorGridPanel的ColumnModel中显示ComboBox的地方使用renderer属性,重新渲染,方法如下: 实现代码如下: //部门列表 var comboxDepartmentStore = new Ext.data.Store({ proxy: new
Ext中的Grid例子 //ID排序 Ext.onReady(function(){ var cm = new Ext.grid.ColumnModel([ {header:'编号',dataIndex:'id',sortable:true}, {header:'名称',dataInde