Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
109
How to change the datasource of one dropdown column in UltraWinGrid by changing the value of other dropdown column in Grid
posted

I have a datasource like City with columns Country, City etc. I bound these rows to grid. Both Country & city are dropdowns.

What i want is to change the values in City Column dropdown on changing selection in country Column dropdown.

I want to use "Infragistics2.Win.UltraWinGrid.v8.1" in my project. If i can find solution for this problem i will go ahead with Infrasictics as i am facing lot of issues in writing same logic in datagridview.

In Article "http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=4878" same functionality is explained but for v5.3. I guess that Infragistics must have enhanced this working in v8.1 , so looking for a solution of same problem in v8.1

Awaiting a quick response.

 Anurag

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    The best thing to do is to populate the City dropdown with a list of all possible cities, then use the ColumnFilters to filter out the cities that do not apply based on the value in the other cell. I would recommend using the BeforeCellListDropdown event for this, or maybe BeforeCellActivate. 

Children
No Data