xeokit-sdk
xeokit-sdk copied to clipboard
[FEATURE SUGGESTION] Dynamically configurable pruneEmptyNodes and sortNodes configurations for TreeViewPlugin
Is your feature request related to a problem? Please describe. I'd like to provide my users with an interface to configure the TreeView in real time. For example, I'd like it to be able to change the "pruneEmptyNodes " or "sortNodes".
However, it's not possible to edit the configuration of a TreeViewPlugin. So I thought I'd have to destroy the object and then create a new one, but that doesn't seem to be the solution.
The structure is duplicated in Treeview.
Describe the solution you'd like Is TreeViewPlugin's "destroy" method incomplete? It might be possible to expose the class attributes or propose a setter on the configuration?