Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Other Discussions
  3. The Back Room
  4. Tree controls

Tree controls

Scheduled Pinned Locked Moved The Back Room
questiondata-structures
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    paulb
    wrote on last edited by
    #1

    I don't like em! They are difficult to navigate; you have to click on a little + button to expand one element, which usually results in a big list of child elements filling the viewing area and pushing all other elements out of view. They dont show much information; if you have elements with lots of properties you can only show one of these to the user, usually a text string like a description or name, unlike the list control where you can add as many columns as needed to show all properties. Editing is confusing; if an element is selected and I click on a "New" button what is being added - a child or a sibling element? Tree controls just take up a lot of screen space that could be better utilised, but what is the alternative when you have naturally heirarchical data?

    C S 2 Replies Last reply
    0
    • P paulb

      I don't like em! They are difficult to navigate; you have to click on a little + button to expand one element, which usually results in a big list of child elements filling the viewing area and pushing all other elements out of view. They dont show much information; if you have elements with lots of properties you can only show one of these to the user, usually a text string like a description or name, unlike the list control where you can add as many columns as needed to show all properties. Editing is confusing; if an element is selected and I click on a "New" button what is being added - a child or a sibling element? Tree controls just take up a lot of screen space that could be better utilised, but what is the alternative when you have naturally heirarchical data?

      C Offline
      C Offline
      ColinDavies
      wrote on last edited by
      #2

      paulb wrote: but what is the alternative when you have naturally heirarchical data? Damm. I read your post agreeing with you all the way, and I expected to see an alternative offered. Damm. Regardz Colin J Davies

      Sonork ID 100.9197:Colin

      I'm guessing the concept of a 2 hour movie showing two guys eating a meal and talking struck them as 'foreign' Rob Manderson wrote:

      1 Reply Last reply
      0
      • P paulb

        I don't like em! They are difficult to navigate; you have to click on a little + button to expand one element, which usually results in a big list of child elements filling the viewing area and pushing all other elements out of view. They dont show much information; if you have elements with lots of properties you can only show one of these to the user, usually a text string like a description or name, unlike the list control where you can add as many columns as needed to show all properties. Editing is confusing; if an element is selected and I click on a "New" button what is being added - a child or a sibling element? Tree controls just take up a lot of screen space that could be better utilised, but what is the alternative when you have naturally heirarchical data?

        S Offline
        S Offline
        Stephane Rodriguez
        wrote on last edited by
        #3

        paulb wrote: you have to click on a little + button to expand one element auto-expand, based on timing (try it with drag&drop in Windows explorer). paulb wrote: results in a big list of child elements filling the viewing area I agree, even though that's up to you to come up with an owner drawn implementation based on chunks of children (along with a More button), instead of all children. paulb wrote: unlike the list control where you can add as many columns multi-column tree control is the answer. There is one on Cp. paulb wrote: Tree controls just take up a lot of screen space that could be better utilised, but what is the alternative when you have naturally heirarchical data? I believe you have forgotten to mention sorting capabilities, and stuff like that (top ten, filters, ...). Business Intelligence tools (BO, cognos, ...) have a long history of showing cube data using trees.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups