Required library edition: 
 Required library file: dhtmlxgrid.js
get list of IDs of changed rows
//get list of changed rows var ids=mygrid.getChangedRows(); //get list of changed rows included added rows var ids=mygrid.getChangedRows(true);
See also: getCheckedRows, getAllRowIds