This is a migrated thread and some comments may be shown as answers.

[Solved] Show and hide value from Multiple dropdown list

1 Answer 654 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
dinakaran g
Top achievements
Rank 1
dinakaran g asked on 14 Sep 2014, 05:28 AM
Hi ,

I am new in using kendo ui 

i have 3 dropdown list in that same  observable values are binding in all 3 list,  in change event of each dropdown list i have to remove the item from another two dropdown list same way suppose i select item from 2nd dropdown selected item will remove from 1st and 3rd, suppose again selecting different item from list those values are added to the remain dropdown list how can i achieve this.

Thanks
 

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 17 Sep 2014, 06:23 AM
Hello dinakaran,

Generally speaking, you will need to remove the data item from the widget data source in order to remove it from the popup list. Based on the given information, I assume that the widgets are bound to one ObservableArray. If this is the case, then you will need to use 3 different instances as this will give you the ability to modify them separately and hence hide the corresponding items in the different dropdownlist widgets.
If you are experiencing any issues with accomplishing your goal I will ask you to prepare a simple Dojo example that demonstrates the problematic situation. Thus I will be able to review the implementation and advice you further.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
dinakaran g
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or