Hi Rawal,
Thanks for contacting Syncfusion support.
Based on your query, you are facing data update issue with batch edit mode in your Grid application. So, we have prepared sample with batch edit mode and found everything works fine at our end without any mentioned issues. For your convenience, we have attached the sample, please refer them for your reference.
Code Example:
App.component.ts
<ejs-grid
#Grid
id="Grid"
[editSettings]="editSettings"
[toolbar]="toolbar"
[dataSource]="parentData"
[childGrid]="childGrid"
(beforeBatchSave)="beforeBatchSave($event)"
>
<e-columns>
<e-column
field="EmployeeID"
isPrimaryKey="true"
headerText="Employee ID"
width="120"
textAlign="Right"
></e-column>
|
App.component.ts
beforeBatchSave(args) {
console.log(args.batchChanges);
} |
Note: By default, in our EJ2 Grid, you can’t edit the cell with toolbar edit button and when you press enter in edit mode it will edit the next row, which is the default, behavior of our EJ2 Grid. You can get the changed data details using the beforeBatchSave event which will be triggered before saving the data in the dataSource.
Please get back to us if you need further assistance.
Regards,
Ajith G.