Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Losing FilterConditions
posted

If I generate a startup script which opens a modal dialog, then issues a form submit() when the modal dialog is closed, my grid's FilterConditions are lost. If I delay the form submit (using setTimeout) the problem seems to go away.

What is the grid doing that needs to complete before I can submit the form without losing the FilterConditions, and is there some better way to give it time to complete? Relying on a setTimeout to prevent issues seems iffy at best.

What I really need to accomplish is to allow the user to interact with a modal dialog, then refresh the grid when that dialog is closed, to display new data - info about an uploaded file - that may have been added via the dialog window.

Parents Reply Children
No Data