grid getCurrentViewRecords

It is composed like the captured picture, and after adding or modifying a row, 

use getCurrentViewRecords in actionComplete to receive the changed grid contents, sometimes data is different.

Version 19.2.60 is in use.

01.PNG


1 Reply

PS Pavithra Subramaniyam Syncfusion Team August 4, 2022 01:49 PM UTC

Hi Benedict,


Thanks for contacting Syncfusion support.


By default, in our Grid, to perform the CRUD actions we need to set a primary key column that has the unique column values. We cannot edit the records for the primary key column, to avoid the duplication of values. This is the default behavior of our Grid. The reported issue might be due to the missing Primary key column in your Grid.


https://ej2.syncfusion.com/vue/documentation/grid/editing/edit/

https://ej2.syncfusion.com/vue/documentation/api/grid/column/#isprimarykey


Please get back to us if you need further assistance on this.


Regards,

Pavithra S


Loader.
Up arrow icon