extjs中新建了一个panel,然后panel中添加了gridPanel,删除gridPanel后,再新建一个gridPanel2,不显示 5
extjs中首先新建了一个panel,然后panel中添加了gridPanel,删除gridPanel后,再新建一个gridPanel2,panel.add(gridPa...
extjs中首先新建了一个panel,然后panel中添加了gridPanel,删除gridPanel后,再新建一个gridPanel2,panel.add(gridPanel2),panel.doLayout(),不显示添加的gridPanel2。var center =new Ext.Panel({ id:"centerID", region:"center", layout:"border", items:[gridPanel] });。。。Ext.getCmp("centerID").removeAll();Ext.getCmp("centerID").add(gridPanel2); Ext.getCmp("centerID").doLayout();
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询