Fixing bug in kendo grid row cancel, when inline editing is used.

I had a strange problem in Kendo grid, when a the last row was canceled the values of the first row were shown in the last row.

The first fix was adding a cancel even handler:

cancel: function (e) {
                     this.cancelChanges();
                 }

This fixed the bug, but introduced an other one.

Now rows would persist the canceled values.

To fix both problem I changed the event handler to:

cancel: function (e) {
      this.cancelChanges();
}

I used kendo 2017.1.118