Simple popup or dialog box in Google Apps Script

前端 未结 4 1898
情深已故
情深已故 2021-01-12 18:29

I\'m looking for simple code that adds a popup in my Google Apps Script Ui that comes up when I hit a submit button. The popup box would display a message and have a button

4条回答
  •  执念已碎
    2021-01-12 19:13

    Popup - use something like this:

          var table = app.createFlexTable();
          table.setStyleAttribute("position", "absolute");
          table.setStyleAttribute("background", "white");      
    

    add items to the table and hide and show as needed.

提交回复
热议问题