Author Topic: Get the changesset of grid  (Read 378 times)

vijay@spinetechnologies

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 87
    • View Profile
Get the changesset of grid
« on: April 11, 2022, 05:03:13 pm »

Hello,

I am binding a grid of multiple editable columns, The grid can contains N no records. Users can change the values for the available cells (End User cannot add/delete Records).

Now after the user change, I want rows with only a change of cells. i.e. The data at the time of grid render time and the data after the update of no of rows.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Get the changesset of grid
« Reply #1 on: April 12, 2022, 10:21:34 am »
you can get this information from getChanges method by passing format: 'byVal' parameter.

https://paramquery.com/pro/api#method-getChanges

old values are stored in oldList and new values in updateList.