๐Range
Google Apps Script class for Google Sheet
Range ็ไฝ็ฝฎ่ณ่จ๏ผ
getRow() - starting row index.
getColumn() - starting column index.
getNumRows() - number of rows.
getNumColumns() - number of columns.
้ธๅ Range๏ผ
๐พ sheet.rangeByRect() - ็ฐกๅ Range ็้ธๅใ
range.offset() - ๅฆๆไฝ็งป็้ๆฒๆ่จญๅฅฝ๏ผๆๅบ็พ้กไผผไปฅไธ้ฏ่ชค๏ผ โ Exception: The starting row of the range is too small.
่จญๅฎๅฒๅญๆ ผๅ ฌๅผ๏ผ
ๅไฝตๅฒๅญๆ ผ๏ผ
ๆฐดๅนณๅไฝต๏ผmergeAcross() (ๅฆๆๆๅฅฝๅนพๅ๏ผๆฏๅๆๅๅฅๅไฝต)
ๅ็ดๅไฝต๏ผmergeVertically()
่จญๅฎๅญ้ซ๏ผ
ๅญ้ซ้ก่ฒ๏ผsetFontColor(), setFontColors(), setFontColorObject(), ...
ๅญ้ซๅคงๅฐ๏ผsetFontSize()
ๅญ้ซ็ฒ็ดฐ๏ผsetFontWeight()
ๅไธๅๅฒๅญๆ ผๅ ง่จญๅฎไธๅ็ๅญ้ซ๏ผ range.setRichTextValue() โญ๏ธ
่จญๅฎ้ก่ฒ๏ผ
ๅฒๅญๆ ผ่ๆฏ่ฒ๏ผsetBackground()
ๆๅญๅฐ้ฝ๏ผ
Last updated