getBranch

returns dataset from some branch in the tree-like component

array getBranch(string id);

Parameters

idstringid of root item

Returns

arrayarray of data objects for the branch in question

Example

var data = $$("tree").data.getBranch("1");

Back to top