PDA

View Full Version : LayoutDialog: render dialog by appending it to existing node



bullit
5 Jun 2007, 8:29 AM
Hi,

I was using yahoo yui befor I started playing with extjs. In yui I used the dialog.render('appendToNode') function which appended the dialog and its content to an existing div in the layout. This solved problems I had when the content div was in an already very complex css area and disturbed the dialogBox. How can I render the LayoutDialog in an already existing div in the document?

Thanks
guido

tryanDLS
5 Jun 2007, 10:31 AM
Look at the doc for LayoutDialog - the 1st arg is the container to render to.

bullit
6 Jun 2007, 1:14 AM
thanks for your answer, but the first argument is the "content node" and not an "append node". I would like to render the content of the content node in an other div in the content. This mean I need a way that the final dialog box with the content gets rendered in a node on an other place in the content.

guido