sim-tree
sim-tree copied to clipboard
How to use destroy and refresh tree
I am using the simtree in salesforce lightning component and noticed one issue. Whenever I select a node and save it, the data gets saved in back-end. However when I again launch the tree, I see the old selection on UI. Not sure what's the issue is, So I was wondering if there is a method to destroy/refresh the tree. If yes, please provide an example.
You can call the refresh method; like this oTree.refresh()