blob: 7be6e8ac28c55575a7285bbfdf180ba2d8ebcb2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---
title: reload
name: functions-reload
---
**function reload();**
**function reload(on_finished);**
Reload data from the server.
* Call `on_finished` when the data is loaded.
{% highlight js %}
$('#tree1').tree('reload');
{% endhighlight %}
{% highlight js %}
$('#tree1').tree('reload', function() {
console.log('data is loaded');
});
{% endhighlight %}
|