The data source of tree.
If set to string, then the tree is going to use this string as a url for ajax requests to the server.
If set to object, then the tree is going to use this object as settings for the jquery ajax function.
If set to array, then the tree is going to use the array as data for tree nodes.
Examples
Local DataSource
<div id="tree"></div>
<script>
$('#tree').tree({
dataSource: [ { text: 'foo', children: [ { text: 'bar' } ] } ]
});
</script>
Remote DataSource
<div id="tree"></div>
<script>
$('#tree').tree({
dataSource: '/Locations/Get'
});
</script>