Hi,
I want to use a multiselect widget inside of a grid. The applicaton is Angular 1.6 with typescript.
The model consists of a comma separated string.
Problem: the widget is opened and initialized with the correct values. But when I change the widget these modifications do not update the model.
This is what I've got so far:
module kendo.data.binders.widget { export class commaseparatedvalue extends kendo.data.Binder { init(widget, bindings, options) { kendo.data.Binder.fn.init.call(this, widget.element[0], bindings, options); } refresh() { // this is called correctly! console.log("refresh", this.bindings, this.element); var that = this; var value = that.bindings["commaseparatedvalue"].get(); var values = value ? value.split(",") : []; that.element.value(values); } change() { // this is not called console.log("change", this.bindings, this.element); } }}
any help greatly appreciated!
Thank you!
