DHTMLX Docs & Samples Explorer

getRowId(ind)

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

gets row id by index

  • ind - row index

Returns row id or null if there is no row with specified index

   //get ID of the first row
   var rowID=mygrid.getRowId(0);

See also: getRowIndex, getSelectedRowId