DHTMLX Docs & Samples Explorer

getSelectedRowId()

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

Returns id of selected row (list of ids with default delimiter) or null if non row selected

   var selectedId=mygrid.getSelectedRowId();

See also: getRowId, getSelectedCellIndex, deleteSelectedRows