Is it possible to hide empty folders in the FileTreeComponent ?
At least an “easy” way. I’m sure I can find a very complicated way, but I’m looking for the easy road. :oops:
Thanks, Wk
Is it possible to hide empty folders in the FileTreeComponent ?
At least an “easy” way. I’m sure I can find a very complicated way, but I’m looking for the easy road. :oops:
Thanks, Wk
You’d need to write a custom FileFilter that ignores empty folders, and make your DirectoryContentsList use that. Hope that’s easy enough!
Man, I always overlook the simple stuff. :oops: I took a look at the DirectoryContentsList and didn’t figure things out. But now, yeah, I can see that, FileFilter. Thanks again Jules.
My new component is nearly done. 8)
Wk