title: How to remove item from Panel
body: <p>I have container, which have <code>box</code>,<code>textfield</code> and <code>button</code>.  I am adding that container in one panel. When I am clicking on <code>button</code> I want to remove that container. Problem is, Container is removed but it not showing on UI.</p>
  
  <p>My Code where I am removing container from panel.</p>
  
  <pre><code> var panel = Ext.getCmp("ABC");
   var record = panel.items.items;
   var recordlength = record.length;
  
   for (var j = 0; j &lt; recordlength - 1; j++) {
      if (record[j].Label == me.Label) {
        record.remove(me);
        panel.remove();
     }
  }
  </code></pre>