GAS โฉ Classes โฉ Sheet
้ธๅ Range
getRange()
ๅ งๅฎนใๆ ผๅผ๏ผ
clear()
clear({ formatOnly: true, contentsOnly: true })
ๆฌไฝๅฏฌๅบฆใ้ซๅบฆ๏ผ
setRowHeight()
setColumnWidths()
๐ๆ็
// column widths sheet.setColumnWidths(startColumn, numColumns, width) // auto-resize sheet.autoResizeColumns(startColumn, numColumns) // โญ๏ธ resize columns sheet.autoResizeRows(startRow, numRows) // โญ๏ธ resize rows
Spreadsheet.Dev โฉ Automatically resize rows & columns
Sheet โฉ
.autoResizeColumns(startColumn, numColumns)
.autoResizeRows(startRow, numRows)
clear() - ๆธ ้คๆๆๅ งๅฎนใๆ ผๅผใ
clear({ formatOnly: true, contentsOnly: true }) - ๅฏ้ธๆๅชๆธ ้คๅ งๅฎนๆๆ ผๅผใ
app.sheet.prototype - extend Sheet.
๐ก ๅฟซ้่ชฟๆดๆฌไฝๅฏฌๅบฆ
Range
app.sheet.prototype extends Sheet.
๐ก custom prototypes for Sheet objects.
Last updated 2 years ago