How to get edited data Source?

Hi,
  I'm facing one issue that when I update the data row, I'm NOT able to get the latest updated data, instead I'm still see the original values. Looks that after make update, the datasource is binding with the new value, but I have No way to get the new data. I provide a simple STR to let you know what I try to do. Thanks in advance.

code:





Original Datasource



Updated datasource



So my questions which method should I use to get the latest data, such as the row with "666", or even the whole datasource. Thanks.


1 Reply 1 reply marked as answer

BS Balaji Sekar Syncfusion Team October 22, 2020 12:51 PM UTC

Hi Leon, 
 
Greetings from the Syncfusion support. 
 
We checked your code example and found that you do not define the column.isPrimaryKey property in the unique value of the column which is cause of the problem. So, we suggest you to define the column.isPrimaryKey property in the unique Grid’s column to overcome the reported problem. 
 
Please refer the below Documentation for more information 
 
                                          https://ej2.syncfusion.com/vue/documentation/api/grid/columnModel/#isprimarykey  
 
Please get back to us, if you need further assistance. 
 
Regards, 
Balaji Sekar 


Marked as answer
Loader.
Up arrow icon