Hi Suman,
Thanks for contacting Syncfusion support.
Query : i edit 2nd row, then do not double click but just a single click, the second row is not returned. to return the edited in (2), i have to double click on grid
We were unable to reproduce the reported problem at our end and created a simple sample for your reference. In that sample, we have showed the batchChangesRecords in console in the cellSaved event.
By default cellSaved event triggers each time when the cell is saved. Please refer the below sample and code example for more information.
App.component.html
<ejs-grid #grid [dataSource]='data' [selectionSettings]='selectionOptions'[editSettings]='editSettings'
height='273px'(cellSaved)='cellSaved($event)'>
------
</ejs-grid>
App.component.ts
export class AppComponent {
@ViewChild('grid', {static: false})
grid: GridComponent;
public editSettings: EditSettingsModel;
public data: Object[];
-------
public ngOnInit(): void {
this.data = hierarchyOrderdata;
this.editSettings = { allowEditing: true, allowAdding: true, allowDeleting: true, mode:'Batch' };
--------
}
// triggers each time when the cell is saved (Batch Edit only)
cellSaved(args){
console.log(this.grid.getBatchChanges())
}
}
|
If you are still faced the problem please share the below details to validate further and provide a better solution.
- Share the full grid code and versions of all the syncfusion packages you have used.
- If possible share the issue reproduce sample.
- Share the details, when ( eventName ) you have showed the batchChangedRecords in console.
Regards,
Balaji Sekar.