2011-07-15 43 views

回答

0

一些挖后,我发现这个解决方法:

button.on('click', function() { 
    var grid = Ext.getCmp('my-grid'); 
    // assuming that we need to expand the first column's menu 
    var column = grid.columns[0]; 
    var hc = grid.view.headerCt; 
    hc.showMenuBy(column.el.dom, column) 
}); 
+0

我使用extjs4.0.2a –