sim-tree icon indicating copy to clipboard operation
sim-tree copied to clipboard

How to use destroy and refresh tree

Open NakulKadam-REISysIn opened this issue 6 years ago • 1 comments

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.

NakulKadam-REISysIn avatar Jan 29 '19 20:01 NakulKadam-REISysIn

You can call the refresh method; like this oTree.refresh()

linjingming avatar Feb 28 '19 01:02 linjingming