Google Sheets: onEdit Basics

Spencer Farris
Spencer Farris
19.8 هزار بار بازدید - 4 سال پیش - Here I show some basics
Here I show some basics of using onEdit() triggers.
* onEdit() triggers are not meant to be manually run; rather, they automatically run whenever a user changes a value on the spreadsheet.
* An event object is typically passed to the function, typically called e, which contains information such as the range, source, oldValue, and value of the edit made.
* You cannot have multiple functions called onEdit() in the same script file (only the last one will be recognized). Rather, consolidate all conditionals and actions into a single function.

Resources:
Simple Triggers Documentation - https://developers.google.com/apps-sc...
Event Objects Documentation - https://developers.google.com/apps-sc...
4 سال پیش در تاریخ 1399/10/03 منتشر شده است.
19,826 بـار بازدید شده
... بیشتر