extjs中grid中嵌入动态combobox的应用
拿combobox的数据 实现代码如下: comboDS = new Ext.data.JsonStore({ url : 'test.do', fields : [{ name : 'id' }, { name : 'display' }] });combobox定义 combobox 中的id必
拿combobox的数据 实现代码如下: comboDS = new Ext.data.JsonStore({ url : 'test.do', fields : [{ name : 'id' }, { name : 'display' }] });combobox定义 combobox 中的id必
要实现对数据表中的数据进行操作,第一步就是要取得数据表中的数据,我们把上篇文章中的创建Store的方法也略作调整,让其从数据表中读取数据。 实现代码如下:this.departmentStore = new Ext.data.JsonStore({ proxy: new Ext.data.HttpP