Skip to Content
avatar image
Former Member

item list box with multiple selection

Hi,

How to use the item list box UI element with multiple selection , can anyone please share the demo example code on how to use the multiple selection option for item list box element ?

also in the layout of Item list box UI element I given the visible length as 10 but even if the value is greater then 10 it does not show the scroll bar for selecting multiple option instead it shows the all the element in the one list itself .

please guide me to resolve both of this error

With Regards,

Amar Kamat

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jun 01, 2009 at 06:14 PM

    Hi Amar,

    As how pointed out by Thomas there is no special coding necessary for realizing this functionality. I have sent across to you a sample example which I have with myself. There isn't anything differently in there but hope that it would make it clearer for you.

    Regards,

    Uday

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 01, 2009 at 05:41 PM

    You need only set the multipleSelection property to allow multiple selections. You can read the selected items by reading the context node with the method get_selected_elements.

    Add comment
    10|10000 characters needed characters exceeded