简体   繁体   中英

What is the function to get all items in ExtJs Panel

I have the form panel.

mypanel = Ext.create('Ext.fomr.Panel');
mypanel.add(Item1);
mypanel.add(Item2);
mypanel.add(Item3);

Now I want to get the list of items in mypanel so that I can add it to another panel.

How can i do that

var all = mypanel.items.getRange();

它将为您提供所有子组件的数组。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM