getTopRange

returns an array of the top tree data items

array getTopRange();
arrayan array of nodes objects

Example

tree.data.getTopRange();
//e.g. [{$count:2, $level:1, $parent:0, id:"root", open:true, value:"Films data"}]

Back to top