xeokit-sdk icon indicating copy to clipboard operation
xeokit-sdk copied to clipboard

[FEATURE SUGGESTION] Dynamically configurable pruneEmptyNodes and sortNodes configurations for TreeViewPlugin

Open AXONE-IO opened this issue 2 years ago • 0 comments

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. image

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?

AXONE-IO avatar Nov 02 '23 08:11 AXONE-IO