-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refresh the node after event #28
Comments
Hi! Could you give me more details or example? |
Hmm I want to refresh the nodes after I add an item
…On Wed, Jun 27, 2018, 4:47 PM Kostiantyn ***@***.***> wrote:
Hi! Could you give me more details or example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUA2SjU5SvnPB_frXPj5BviDhTIzKZyCks5uA0aSgaJpZM4U2MIg>
.
|
Is there an event to reload the tree view sorry I am not in the house I can
send thd code
On Wed, Jun 27, 2018, 4:48 PM rafael maghari <29rafaelmaghari@gmail.com>
wrote:
… Hmm I want to refresh the nodes after I add an item
On Wed, Jun 27, 2018, 4:47 PM Kostiantyn ***@***.***> wrote:
> Hi! Could you give me more details or example?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#28 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AUA2SjU5SvnPB_frXPj5BviDhTIzKZyCks5uA0aSgaJpZM4U2MIg>
> .
>
|
For example I want to reload all the items in tree view after I save an item |
Please take a look at the documentation: https://amsik.github.io/liquor-tree/#Tree-API. It should help you |
This feature exists in jsTree where you can ask the plugin to re-query the provided data source, either local array or backend. Let's say that someone changed the tree structure and you maybe you want to manually refresh the data coming from the backend. |
You are able to refresh data via const tree = this.$refs.tree;
tree.setModel([
{text: 'My text 1'},
{text: 'My text 2', state: { selected: 1 }
]) |
Perfect ! |
Yeah, we have it. https://amsik.github.io/liquor-tree/#Redefine-Structure |
how to reload the node after events ?
The text was updated successfully, but these errors were encountered: