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

getItemIdByIndex

returns the node's id by index

string|number getItemIdByIndex(string|number id,number index);

Parameters

idstring|numberthe parent node's id
indexnumberthe index of the node, 0-based

Returns

string|numberthe node's id
Back to top