[英]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. 现在我想获取mypanel中的项目列表,以便我可以将其添加到另一个面板。
How can i do that 我怎样才能做到这一点
var all = mypanel.items.getRange();
它将为您提供所有子组件的数组。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.