Datasource transport.update (function) never gets called after edit

Sergiy

I have an issue using ListView, DataSource and Angular where transport is fully custom, e.g. transport update/create/read and delete are functions.

I used original plunkr from https://demos.telerik.com/kendo-ui/listview/angular and added edit template, edit/cancel and update buttons.

transport.read method works as expected and returns original "product" array from the example however upon edit of the ProductName, transport.update is never executed and no error is thrown. I've added schema/model with id and other columns however it has no impact.

Please help

https://dojo.telerik.com/@sergpro/etuvac/6

Stefan

After updating it I noticed that the issue occurs when the input is bound to "ng-model" and I can assume that the internal logic that is listening for changes is not detecting the change when it is coming from the model.

In this scenario I can suggest using the ng-change directive to set the dataItem as dirty which will trigger the update:

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.