This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Picklilst to Picklist control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Picklilst to Picklist control" Watch "Picklilst to Picklist control" New topic

Picklilst to Picklist control

rahull agarwal
Ranch Hand

Joined: Dec 20, 2010
Posts: 31
How can I implement following kind of control?

There are two multi select picklist controls on the page. The first one is populated with values and the second one is blank.

I can push the values from first to second. Also, I can move these selected values up and down in the second one....

I tried looking around. Did not find much. Please help. Thanks so much !!
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
normally called double combo or linked selects.

rahull agarwal
Ranch Hand

Joined: Dec 20, 2010
Posts: 31
Eric thanks for your reply. However, thats not what I was looking for. Probably, I was not clear in my explanation.

Say, there is a multiselect control box BOX_1 with values


There is another BOX_2 and is empty for now.

There are push arrows between these two.. Now, I can push say "Beta" and "Gamma" from BOX_1 to BOX_2. Thereafter, "Beta" and "Gamma" will show up in BOX_2 and will go away from BOX_1. So, in my case, "Beta" and "Gamma" have been selected by user.

Additionally, I also want "up" and "down" arrow near BOX_2 so that I can change the order of "Beta" and "Gamma".

Thanks so much !!
I agree. Here's the link:
subject: Picklilst to Picklist control
It's not a secret anymore!