ExtJS: How to set defaults for Grid columns within initComponent?
问题 as you notice below, I'm using Ext.Array.merge to render columns within initComponent . I'm try to set columns ' flex property as default in initComponent . How can I achieve to this arrangement? initComponent: function () { var me = this; Ext.on('resize', function () { me.height = window.innerHeight - App.MAIN_FOOTER_HEIGHT - App.MAIN_HEADER_HEIGHT - 100 }); me.createGridMenu(); me.columns = Ext.Array.merge(me.getListColsStart(), me.getListCols(), me.getListColsEnd()); //I need to set