DHTMLX Docs & Samples Explorer

getChangedRows(and_added)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxgrid.js

get list of IDs of changed rows

  • and_added - {true|false} if true- include ids of added 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