Link to home
Start Free TrialLog in
Avatar of peikfeng
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.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peikfeng
peikfeng

ASKER

Thanks for the clue!!  :)
I have customized my code to do this.