Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
onChange事件的"REMOVED_ROW"类型为SpreadsheetTriggerBuilder
onChange
"REMOVED_ROW"
SpreadsheetTriggerBuilder
但是,在文档中没有任何地方可以查看从事件中删除了哪些行。有没有办法获取与此事件一起删除的行号?
您可以使用getActiveRange()。当用户删除一行时,它将自动选择已删除行下方的行。