PDA

View Full Version : How to re-draw/re-display form?



finkster
7 Apr 2010, 10:43 AM
I've searched the forums/docs and have not been able to find a solution for a problem that I'm having.

I have a form panel with dynamic fields. Instead of clearing/resetting the form, I would like to completely re-draw it to it's original state (with any dynamically added form fields removed, etc). Is there an easy way to do this?

Thanks.

rbastic
7 Apr 2010, 12:21 PM
... Uhhh. Not sure exactly, but here are some guesses:

yourObj.hide();
yourObj.show();

OR

yourObj.render();

perhaps?