2

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

4

1 に答える 1

10

var all = mypanel.items.getRange();

すべての子コンポーネントの配列を提供します。

于 2013-11-04T04:16:56.693 に答える