getParentId

получает ID родительского элемента

id getParentId(id id);
ididID дочернего элемента
idID родительского элемента

Example

tree = webix.ui({
    view:"tree",
    data: [
        { id:"branch1", value:"The Shawshank Redemption", data:[
            { id:"part1", value:"Part 1" },
            { id:"part2", value:"Part 2" }
        ]}
    ]
});
 
var child = tree.getParentId('part1'); // -> 'branch1'

See also
Наверх
If you have not checked yet, be sure to visit site of our main product Webix open source html5 framework and page of treemap data visualization product.