How to save all the data to database

How to save all the data in the grid to database (Whether or not data has been modified)? :question:

In case of using the dataprocessor you may try to iterate through all the rows in the grid:
docs.dhtmlx.com/doku.php?id=dhtm … ating_rows
and set the each row the status of “updated”.
dp.setUpdated(rowId,true,”updated”);

grid.forEachRow(function(id){ dp.setUpdated(id,true,”updated”); })