peikfeng
asked on
Jtree + Dir structure - limit to 1 level
Hi,
I have a Jtree that represent a directory structure like a Windows explorer.
the root is C:\ drive
Is it possible to limit the Jtree to show only the 1st level folder in C:\ ?
eg:
C:\
folder1 ("+" sign should be hidden if folder1 has subfolders and it is not expandable)
folder2
Thanks.
I have a Jtree that represent a directory structure like a Windows explorer.
the root is C:\ drive
Is it possible to limit the Jtree to show only the 1st level folder in C:\ ?
eg:
C:\
folder1 ("+" sign should be hidden if folder1 has subfolders and it is not expandable)
folder2
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have customized my code to do this.