回答編集履歴
1
スクリプト部分、getRow\(\)ではなくgetColumn\(\)の間違いでした。
answer
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
```Javascript
|
19
19
|
//特定の1列の値が変更されたら実行
|
20
20
|
function onEdit(e){
|
21
|
-
if(e.range.
|
21
|
+
if(e.range.getColumn() == {{列のインデックス値}}){sortAscending();}
|
22
22
|
}
|
23
23
|
|
24
24
|
function sortAscending() {
|