New to Kendo UI for jQueryStart a free 30-day trial

Get Old and New Values On Tab Key Press

Environment

Product Version2019.3.917
ProductProgress® Kendo UI® Grid for jQuery

Description

How can the user get the previous value, modified value, and row data when tabbing through a Kendo UI Grid with batch editing enabled?

Solution

To gain access to the previous value, currently changed value, and row data, utilize the save event's arguments. e.model will contain the previous values and row data, and e.values will hold the newly changed values.

javascript
      function onSave(e) {
         console.log(e.model); //contains previous values/row data
         console.log(e.values);  //contains newly changed values 
      }

See Also