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

getParentId

returns the item's parent id

string|number getParentId(string|number id);

Parameters

idstring|numberthe item's id

Returns

string|numberthe item's parent id

Example

var parentId = myTreeView.getParentId(id);

Back to top