-2
dialog in a Google Spreadsheetの幅を設定する必要があります。function openDialog()幅と高さの設定Googleスプレッドシート
これまでのところ、私のコードは次のとおりです。
// Use this code for Google Docs, Forms, or new Sheets.
function onOpen() {
SpreadsheetApp.getUi() // Or DocumentApp or FormApp.
.createMenu('Cadastro')
.addItem('Open', 'openDialog')
.addToUi();
}
function openDialog() {
var html = HtmlService.createHtmlOutputFromFile('index');
SpreadsheetApp.getUi() // Or DocumentApp or FormApp.
.showModalDialog(html, 'Dialog title');
}`enter code here`
!完璧に働いた;) –
それはあなたのために働いた場合、あなたは答えを承認していただけますか?ありがとう。 –