on 06-01-2009 2:17 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uday,
I understand the on how to implement the multiple selection logic in Item list box .but the way I need is somewhat different.
I will expalin my scenrio:
I need to build the hierarchy for 4 nodes.
1. Line of buisness
2 . Division
3. Region
4. Subsidiary
when multiple division are selected it should give the valid region list in region list depending upon the list of division selected in the divison item list box and same for Subsidiary based on multiple region values.
How I achieve this as there is no event is triggered by the UI element when the multiple values are selected.
if u can help me out on this it will be the great help.
Regards,
Amar Kamat
Hi Amar,
Am not quite sure about your requirement. Do you mean to say like:
You are displaying Line of buisness, Division, Region & Subsidiary as ListBoxes with multiple selection. And you need to dynamically populate the values of Division, Region & Subsidiary based on the multiple values selected in the item above?
Regards,
Uday
Hi Uday,
you got my problem right .. I need the same as u explained but the problem I am facing here is as for multiple selection there is no event gets triggered. so I am confused about in which event I can capture the selected elements values and populate the below item with values.
Regards,
Amar Kamat
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.