View Full Version : Moving window content into a FormPanel

24 Feb 2010, 6:47 AM
Hi all,
this is going to be a very newbie question, I'm just beginning with ExtJS.

I have a FormPanel with a tree in the North region, and one blank space below (South). On the tree I have 2 different levels, and when I click on a leaf, depending on the level I am, I get a new Ext.Window where I can modify details for that node.

Now I want to get rid of the window behaviour and reuse that South blank space, so when I click on a node, I would get the form inside the south container (if possible, with a nice sliding animation ;-)

And of course, depending on which node level of the tree I click, I will need a form or another, as they are different kind of items.

I am fighting with render() function, but so far nothing has worked for me :-(

Thank you so much for your help, and for this wonderful forum, where I have been getting many answers!

P.S. I tried the 'search' function in the forum, I promise, but I was not sure about what to look for...