extjs 动态添加组件

2025-05-11 23:52:08
推荐回答(1个)
回答(1):

this.up("panel").add({xtype:'button'})
其中panel是你要加载到的容器,button是你要加载组件的类型,按你实际需要的更改