Modal & Update

Hello All

I have a grid application that under certain circusmtances opens a modal window that contains a form, through this modal window I updated certain global variables, but after close the modal window I need to refresh the grid in order the get the new global value in the grid, I can I refresh the grid before closing the modal?

Hi,
create a Javascript method (i.e. update_parent)

Within the method:
window.parent.location.href += ‘’;

Pick an appropriate event (i.e. onValidate)
sc_ajax_javascript(‘update_parent’);

jsb

I will try, thanks

[QUOTE=jsbinca;23271]Hi,
create a Javascript method (i.e. update_parent)

Within the method:
window.parent.location.href += ‘’;

Pick an appropriate event (i.e. onValidate)
sc_ajax_javascript(‘update_parent’);

jsb[/QUOTE]

So how do I make the parent page return with the same data as previous, this returns me a blank form.

Hi jsbinca.
Thx for sharing this solution.
You wrote to add in the javascript method window.parent.location.href += ‘’;
I don’t understand this. Can you explain me please?
Thx a lot.