childrenField : stringDefault: 'children'

Children field name.

Examples

Custom FieldName

    
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         childrenField: 'myChildrenNode',
         dataSource: [ { text: 'foo', myChildrenNode: [ { text: 'bar' } ] } ]
     });
 </script>