DHTMLX Docs & Samples Explorer

setRowId(ind, row_id)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

sets new id for row by its index

  • ind - row index
  • row_id - new row id
   //set new id for the first row
   mygrid.setRowId(0,"new_row_id");

See also: changeRowId, getRowId