I want to add a change event to all cells in a specified column using Kendo UI. Something like:
this.myGridVariable.table.on("change", "--InsertMyColumnNameHere--", (e) => { this.doStuff(e) });
I thought this worked:
this.myGridVariable.table.on("change", "[name=ColumnName]", (e) => { this.doStuff(e) });
but it doesn't, at least not with the latest update.
You need to specify what change event you mean:
<input>
, <select>
, and <textarea>
, but not a table cell, see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_eventI believe you'll want the second one. You can't bind it to a single field, but it has e.field
and you can execute code depending on its value.