你好 删除formpanel中的全部组件是怎么弄的?

[复制链接]
查看11 | 回复1 | 2011-8-3 16:54:04 | 显示全部楼层 |阅读模式
你好.....EXT大概是没有提供删除formpanel中的全部组件的方法.....但是它提供了删除单个元素的方法/**API*/remove( Component/String component, [Boolean autoDestroy] ) : void 在移除之前触发beforeremove事件...从容器中移除一个组件。在移除之前触发beforeremove事件,接着在移除之后触发remove 事件。 参数:component : Component/String The component reference or id to remove.autoDestroy : Boolean (可选...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行