refresh only changed rows data?

If data for a row or only a small number of rows are modified in the database ( that is not modified through inline editing of grid) I want to refresh only the rows in the grid for which the data changed in database and not all the rows.

How can I do that?

You may use updateFromXML method http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_updatefromxml