Using the Tree control in perspective, is it possible to make a selection via scripting? The problem I'm having is that I have a default value that modifies the props.selection property. The graphic itself updates, however the selectionData property doesn't change. It will only change on a click event. Is it possible force it to update?
No. You can make it clear by setting selection to an empty list, but it only ever populates by user action.
I have a similar issue. When I update the underlying data TreeView.props.items
(e.g. removing a node), the TreeView.props.selectionData
persists.
Is there plans to add a function to updateSelectionData
?