Hi Turboshurik,
Greetings from Syncfusion support.
Since your requirement is to update the Grid cell value, we suggest you to use the Grid’s setCellValue method to achieve this requirement. Using this method the cell value will be automatically updated in the Grid and you need refresh the Grid and wait till it is completed.
|
it("should refresh the grid by updating the model", () => {
component.grid.setCellValue(3, 'name', 'NewValue');
expect(component.grid.getCellFromIndex(2, 1).innerHTML).toBe("NewValue","grid not refreshing");
}); |
Modified sample,
Please get back to us if you require any further assistance.
Regards,
Sujith R