nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / jqTree / _entries / 17_datafilter.md
1 ---
2 title: dataFilter
3 name: options-datafilter
4 ---
5
6 Process the tree data from the server.
7
8 {% highlight js %}
9 $('#tree1').tree({
10     dataUrl: '/my/data/',
11     dataFilter: function(data) {
12         // Example:
13         // the server puts the tree data in 'my_tree_data'
14         return data['my_tree_data'];
15     }
16 });
17 {% endhighlight %}