Check documentation for the latest version of dhtmlxSuite getSelectedRowId DHTMLX Docs

getSelectedRowId

returns the id of the selected row (a list of ids with default delimiter) or null, if there are no selected rows

string|number getSelectedRowId();
string|numberthe id of the selected row

Example

var selectedId=myTreeGrid.getSelectedRowId();

Back to top