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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.