TMS Support Request: TAdvTreeView Grouping Functionality
Subject: Need Assistance with Node Grouping in TAdvTreeView
Context
I'm implementing a directory structure viewer using TAdvDirectoryTreeView
but can't find sufficient documentation about batch node processing and grouping.
Objective
I need to:
- Load Directory using
LoadDirectory
- Group all top-level nodes under a new parent node
- Store this grouped structure temporarily
- Repeat for multiple directories
- Finally display all grouped structures together
Current Approach
I'm trying to load a directory into a temporary TAdvDirectoryTreeView, then copy all the nodes into a parent node named after the source folder directly into my main TAdvDirectoryTreeView, and I'm trying to repeat this action X times for every directories to load.
Except I can't do it; the component doesn't seem to be suitable for this at all. Since there are so many folders, I don't want to resort to loading the entire directory one level above and deleting unnecessary nodes.
I would have appreciated a function like: LoadMultipleDirectory(groupByParentFolder: boolean = true) and thus specify multiple directories to load, groupable or not by the parent directory. This would allow loading a directory containing tons of folders by applying a "filter" to only have the relevant ones.
Thanks a lot !