Dashboard refresh grid from form button

i have a dashboard with one form and one grid.
if user clicks on a button (java script) in form, i want grid to refresh

in button i wrote document.getElementById(“id-iframe-0”).contentDocument.location.reload(); but it doesnt work in dashboard iframe :frowning:

🚀 Scriptcase 9.12 is now available! Check out the new features here 👉🚀 Next Monday (02/24), Scriptcase 9.12 will be released! Check out the new features before anyone else 👉