Get Old and New Values On Tab Key Press

Environment

Product Version 2019.3.917
Product Grid for ProgressĀ® Kendo UIĀ®

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.

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

See Also

In this article
Not finding the help you need? Improve this article