Skip to Content
avatar image
Former Member

Multiple selection in tree

I am looking to use (or create) a tree view that allows users to select multiple nodes.

e.g. Given the following structure:









I want the user to be able to select nodes Node11, Node12 and Node22, for example.

It appears that the iBrowser in tree mode does not allow multiple selection.

Any ideas would be greatly appreciated.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jul 19, 2007 at 07:41 PM


    You are correct - the iBrowser tree only allows a single selection item. The iBrowser in list mode does and if you emulated the tree almost like in your post with '>' level indents you could easily strip this off when you looped through the mulitple selected items in JavaScript. The only other way I could think to do this would be with an array that you added items to when the selection event was fired, but this would be problematic for the user without being able to see and manage the 'selected' elements.


    Jeremy Good

    Add comment
    10|10000 characters needed characters exceeded

    • Allison,

      Based upon your simple example, the nature of your tree levels may let you accomplish this with an iBrowser in drop down combo mode for the distinct Child elements and the listbox mode iBrowser for the associated Nodes. This would not allow you to easily select nodes across children, but that may not be a requirement. You could even add an 'ALL' item at the bottom of the Child list to see all nodes, which should be quite easy depending upon the nature of your query.



  • avatar image
    Former Member
    Jul 24, 2007 at 06:49 PM

    Thinking a little outside the standard delivered xMII objects, you could probably do something either with dynamic html, javascript or ajax using a servlet to generate the dyanmic code.

    There are a lot of free available libraries out there. Here">Here> is one small example from SCAND.

    Regardless of the path you decide, it won't be as simple as one of the standard xMII object.

    Add comment
    10|10000 characters needed characters exceeded