0

我想使用 Kendo UI 向指定列中的所有单元格添加更改事件。就像是:

 this.myGridVariable.table.on("change", "--InsertMyColumnNameHere--", (e) => { this.doStuff(e) });

我认为这有效:

 this.myGridVariable.table.on("change", "[name=ColumnName]", (e) => { this.doStuff(e) });

但它没有,至少在最新更新中没有。

4

1 回答 1

2

您需要指定您所指的更改事件:

我相信你会想要第二个。您不能将其绑定到单个字段,但它具有e.field并且您可以根据其值执行代码。

于 2020-10-06T10:50:21.077 回答