Required library edition: Required library file: dhtmlxgrid.js
returns unique ID
var uniqueID=mygrid.uid();
See also: addRow