Announcement

Collapse
No announcement yet.

Modal & Update

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    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

    Comment


    • #3
      I will try, thanks

      Comment


      • #4
        Originally posted by jsbinca View Post
        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
        So how do I make the parent page return with the same data as previous, this returns me a blank form.

        Comment

        Working...
        X