我有一个显示文章详细信息的网格面板。有几列。当我们的员工更改单元格值之一时,我想根据更新的字段匹配所有列字段值。
+----------------------------------------+
| ROW ID | COL A | COL B | COL C | COL D |
+----------------------------------------+
| 1 | TR | IST | 100 | 12 |
+----------------------------------------+
| 2 | US | NY | 60 | 7 |
+----------------------------------------+
| 3 | DE | BER | 74 | 9 |
+----------------------------------------+
我想要做的是,当用户将 ROW-1COL D
值 (12) 更改为 15 时,其他行COL D
值应自动更改为15
.
+----------------------------------------+
| ROW ID | COL A | COL B | COL C | COL D |
+----------------------------------------+
| 1 | TR | IST | 100 | 15 | <- user has changed the value
+----------------------------------------+
| 2 | US | NY | 60 | 15 |
+----------------------------------------+
| 3 | DE | BER | 74 | 15 |
+----------------------------------------+