반응형
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
- Java
- Mac
- Python
- SQL
- string
- list
- Apache
- Redshift
- Kotlin
- PostgreSQL
- 파이썬
- matplotlib
- GIT
- gas
- Excel
- django
- Google Spreadsheet
- array
- PANDAS
- Google Excel
- PySpark
- dataframe
- hive
- Github
- numpy
- Tkinter
- math
- google apps script
- c#
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