I have a Google Sheet that runs some Apps Script server code to connect to an SQL server. I want to show the message \"loading...\" in the modal dialog while data is being
The flow of events could be:
onLoad event of modal dialog triggers client side codegoogle.script.run triggers a server side .gs function to run.gs script file runs.google.script.host.close();You'll need a tag in your modal dialog.
Right now you are using:
HtmlService.createHtmlOutput(the HTML here)
You could create the HTML from a file instead:
HtmlService.createHtmlOutputFromFile(filename)