This question is locked. New answers and comments are not allowed.
Hi,
I am trying to achieve below functionality on GridView Combobox column:
We have 2 Collection 1st have list of countries with Country-ID & 2nd have list of all cities of all countries with City-ID & respective Country-ID so, ItemSource of 1st Combobox column is binded with Country-Collection & 2nd with City-Collection, so they are successfully populating data on edit (click on Combobox-column-cell) & on load it shows country & city from back-end too.
But my requirement is when user changes or selects Country from 1st column, on 2nd column all the cities from that selected country should be filter out i.e. it should only show those cities which have Country-ID under selected Country.
I tried many options for above requirements but still not able to achieve the desired result.
Any help is appreciated.
I am trying to achieve below functionality on GridView Combobox column:
We have 2 Collection 1st have list of countries with Country-ID & 2nd have list of all cities of all countries with City-ID & respective Country-ID so, ItemSource of 1st Combobox column is binded with Country-Collection & 2nd with City-Collection, so they are successfully populating data on edit (click on Combobox-column-cell) & on load it shows country & city from back-end too.
But my requirement is when user changes or selects Country from 1st column, on 2nd column all the cities from that selected country should be filter out i.e. it should only show those cities which have Country-ID under selected Country.
I tried many options for above requirements but still not able to achieve the desired result.
Any help is appreciated.