ExtJs GridPanel 获取编辑行的下拉组件

Ext.getCmp('gc').on('beforeedit', function(editor, context) {
    if (context.field === 'worker') {
        let cmb=context.column.getEditor().items.items[0];
cmb.getStore();
        
    }
})

 

posted on 2024-07-15 16:01  wakaka_wka  阅读(2)  评论(0编辑  收藏  举报