摘要: createClassTreeCombo: function (comboConfig) { comboConfig = Bronze.AES.Form.initConfig(comboConfig); var uiProvider; if (comboConfig.checkModel) { var isRichUI = Bronze.AES.Tree.RichUICheckModel[comboConfig.checkModel] != undefined; if (isRichUI) { uiProvider = Ext.ux.TreeNodeRichUI; } else { uiPro 阅读全文
posted @ 2010-12-01 15:06 yellowsail 阅读(269) 评论(0) 推荐(0) 编辑
摘要: /** Sample json load code :* Ext.getCmp('').loadTree(url,params) * url : '../..../....Action.do?islem=giris '* params : {'itemId':Ext.getCmp('item').getValue()}** Animal's TreeCombo modified by Wedgie to handle a maxHeight config setting.* This updated version fix 阅读全文
posted @ 2010-12-01 15:05 yellowsail 阅读(240) 评论(0) 推荐(0) 编辑
摘要: /**1. 2. * 下拉ComboBoxGrid 3. * 4. * @xtype 'combogrid' 5. */ComboBoxGrid = Ext.extend(Ext.form.ComboBox, { gridHeight: 180, listAlign: 'tr-br', listWidth: 300, store: new Ext.data.SimpleStore({ fields: [], data: [[]] }), resizable: false, // Default editable: false, mode: 'local& 阅读全文
posted @ 2010-12-01 14:39 yellowsail 阅读(647) 评论(0) 推荐(0) 编辑
摘要: var xg = Ext.grid; var store = new Ext.data.GroupingStore({ proxy: new Ext.data.HttpProxy({ url: Bronze.Common.ajaxURL}), remoteSort: false, //是否远程排序 remoteGroup:true, reader: new Ext.data.JsonReader({ root: 'Rows', //这两个属性对应后台的解析json格式 totalProperty: 'Total', id: 'FID'}, [{ 阅读全文
posted @ 2010-12-01 14:36 yellowsail 阅读(278) 评论(0) 推荐(0) 编辑