Programmatically selecting an item in FileTreeComponent


#1

Hi,
I am attempting to use the FileTreeComponent for a small navigation interface for a medium size set of files. As a class it seems great, but I am wondering if I misunderstand its design…?

I need to pre-select a particular file (possibly deep down the hierarchy). I first thought that all files where enumerated during initialization, but I suspect they are enumerated as the folders are expanded, is that correct? That means there is no internal list of items to go through.

Is there any way to pre-select a particular file in the tree?

Grateful for insight or tips!
/Michael