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