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

getIndexById

returns the node's index in the children collection by id

number getIndexById(string|number id);

Parameters

idstring|numberthe node's id

Returns

numberthe node's index
Back to top