Dhtmlxgrid set cell value can't modify the grid


I’ve tried to set cell value using below code:

The updated values has been displayed in the grid. But when i tried to save the grid data, the processor didn’t send data. Because the grid thought it didn’t have any modified rows in the grid.

when clicking a save button, I’ve tried below code to save data:

How to fix this?

Please, try to set the cell as updated after changing its value using the API:
mygrid.cells(rowid, 3).setValue(‘test’);