PDA

View Full Version : form recreating problem even after using form.el.remove



pravin_bluebird
16 Aug 2007, 11:06 PM
Hello all ,

I have Three grid panel.
and i keep one one button in grid footer.

button handler call the show dialog method which creates a new dialog.

all three button of three grid is calling the same function for creating dialog.
this dialog contain one form.

So i need the dialog and form to be dynamic.


Now my problem is that When i open the dialog for the first time it displays good.
but when i close the dialog and reopen it the dialog is dynamically generated but the form disappears.

i have already written code for recreating dialog and form.

for dialog recreating i use dialog=null when the cancel button is pressed
and for form i use form.el.remove()


Still i got the same problem





regards
Pravin