title: How to get all childs of the parent container in extjs
body: <p>I am creating dynamic containers in extjs. I have parent container whose itemId is "ParentContainer" and child container whose itemid is "ChildContainer". Now I am adding child container inside parent container by using the following code.</p>
  
  <pre><code>var child = Ext.createWidget('childcontainer');
  var parent = Ext.ComponentQuery.query('#ParentContainer')[0];
  parent.add(child);
  </code></pre>
  
  <p>Now its working fine but the issue is when I am trying to retrieve all the childs of the parent container by using the following code, it only returns first child but I need all of the childs</p>
  
  <pre><code>var par = Ext.ComponentQuery.query('#ParentContainer')[0];
  var childs = par.query('#ChildContainer');
  </code></pre>
  
  <p>I need an array of all the childs, can anybody help.
  Thanks.</p>