diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jqTree/_entries/53_reload.md')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jqTree/_entries/53_reload.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/_entries/53_reload.md b/ecomp-portal-FE/client/bower_components/jqTree/_entries/53_reload.md new file mode 100644 index 00000000..7be6e8ac --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/jqTree/_entries/53_reload.md @@ -0,0 +1,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 %} |