How to force a page refresh upon adding a new row to an Editor table?

How to force a page refresh upon adding a new row to an Editor table?

hnhegdehnhegde Posts: 68Questions: 17Answers: 0

Hello,
Is it possible to force a page refresh upon adding a new row or editing an existing row in a DataTable? Similar to what a "Submit" button does in plain old html form.
I searched the forums, but couldn't find any relevant responses. It appears to me ajax.reload() refreshes the particular datatable only.

Thanks
Harsha

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 65,863Questions: 1Answers: 10,957 Site admin
    Answer ✓

    You could use the submitComplete event and just do a window.location.reload().

    Allan

  • hnhegdehnhegde Posts: 68Questions: 17Answers: 0

    That works! Thanks Allan.

This discussion has been closed.