Check documentation for the latest version 6.0 of dhtmlxSuite setRowId DHTMLX Docs

setRowId

sets a new id for a row by its index

void setRowId(number ind,string|number row_id);

Parameters

indnumberthe index of a row
row_idstring|numbera new id of a row

Example

//set a new id for the first row
mygrid.setRowId(0,"new_row_id");

Back to top