반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- matplotlib
- hive
- GIT
- django
- Java
- PySpark
- Redshift
- array
- Tkinter
- string
- Github
- numpy
- SQL
- c#
- 파이썬
- Python
- Apache
- Google Spreadsheet
- list
- math
- Excel
- Google Excel
- dataframe
- PANDAS
- Mac
- Kotlin
- PostgreSQL
- google apps script
- gas
Archives
- Today
- Total
목록setDataValidation (1)
달나라 노트

Google Spreadsheet에선 위처럼 셀 안에 체크박스를 만들 수 있습니다. 체크를 안한 경우에는 X, 체크 한 경우에는 O라고 값이 떠있는걸 볼수있죠. 저 체크박스 만드는 것을 코드로 구현해봅시다. function myFunction() { var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); spreadsheet.setActiveSheet(spreadsheet.getSheetByName('Sheet1')); spreadsheet.getRange('B2').activate(); spreadsheet.getActiveRange().setDataValidation(SpreadsheetApp.newDataValidation().requireCheckbo..
Google Apps Script
2021. 8. 6. 13:34