Hi,
I am new to Sencha touch.
I would like to remove a container (either destroy or removeall) and then add a new form in that old container.
I cannot use setcard becos i am not using a card layout.
Here comes the code
Code:
var rightMovingCont = new Ext.Container({
       flex:3,
       html: '<div id="contentRight">Bitte w&auml;hlen Sie ein Kontakt von Links.</div>',
       id:'rightContent',
       ui:'dark',
       scroll:'vertical',       
       draggable:false
});
Now on button click handler i want to replace the content of the above container completely and add a new form to that container.
I could able to remove all by using
Code:
rightMovingPanel.destroy();
But how to create a new container with a form and add it there.

Any help?