ExtJs GridPanel 获取编辑行的下拉组件
Ext.getCmp('gc').on('beforeedit', function(editor, context) { if (context.field === 'worker') { let cmb=context.column.getEditor().items.items[0]; cmb.getStore(); } })
Ext.getCmp('gc').on('beforeedit', function(editor, context) { if (context.field === 'worker') { let cmb=context.column.getEditor().items.items[0]; cmb.getStore(); } })