Check documentation for the latest version of dhtmlxSuite getParentId DHTMLX Docs

getParentId

returns the item's parent id

string|number getParentId(string|number id);
idstring|numberthe item's id
string|numberthe item's parent id

Example

var parentId = myTreeView.getParentId(id);

Back to top