Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to make a dropdown list within another dropdown list.

For example:I have a list with numbers from 1 to 5.
If user clicks on 1, the selected value will be 1. If the user clicks '+' sign beside 1, it will open another dropdown list with values 1.1, 1.2 etc. Now user if user clicks 1.2, then selected value in main dropdown will be 1.2.

Is it possible to create this control? If possible any clue how??

What I have tried:

I can not think of anything that can make this possible.
Posted
Updated 20-Jul-16 2:38am
Comments
F-ES Sitecore 20-Jul-16 7:11am    
There are no native controls to do that but if you google "jquery drop tree" you'll probably find some plug-ins other people have written.
ZurdoDev 20-Jul-16 8:21am    
I suggest posting as solution. This is a correct answer.

1 solution

There are no native controls to do that but if you google "jquery drop tree" you'll probably find some plug-ins other people have written.

Live Demo - jQuery EasyUI[^]

Giva Labs - mcDropdown jQuery Plug-in | Giva[^]
 
Share this answer
 
Comments
Karthik_Mahalingam 20-Jul-16 11:48am    
5!
planetz 21-Jul-16 1:02am    
The live demo link that you shared is exactly what I want. Need help with the .css files and in this line:
<input class="easyui-combotree" data-options="url:'tree_data1.json',method:'get'" style="width:100%">

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900