Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

What we are going to do is simple.We have two comboboxes.Based on first combobox value second combobox values should change.ie when value changes second combobox binding should change(dynamic binding).

Steps

1.Our odata should look like this.Here iam using custom data.Set data to the core so we can access it.

2.Create first combobox and bind data to it.Here is the tricky part.In the selectionchange event of combobox call a function for binding the secondcombo passing the selected key as parameter.

3.Function for binding second combobox.

4.You Should set initial binding of second combo by calling function passing 0 as parameter

sharing sample code

JS Bin - Collaborative JavaScript Debugging

Labels in this area