Could you provide an example of defining a Kendo UI Model an Id and Fields using TypeScript?
This is far as I've gone by looking at Kendo.all.d.ts.
class customerModel extends kendo.data.Model {
constructor() {
super();
super.init(this);
this.id = "CustomerID";
this.fields = new kendo.data.DataSourceSchemaModelFields();
}
}
This is far as I've gone by looking at Kendo.all.d.ts.