Documentation

getNextSiblingId

returns the id of the next sibling of the specified node

id getNextSiblingId( id);

Parameters

idid ID of the node in question

Returns

idID of the next sibling or false if there isn't any

See also

Example

tree = new webix.ui({
    view:"tree",
    data: [
        { id:"branch1", value:"The Shawshank Redemption", data:[
            { id:"part1", value:"Part 1" },
            { id:"part2", value:"Part 2" }
        ]}
    ]
});
 
$$('tree1').getNextSiblingId("part1"); // returns 'part2'

Back to top