Hi Sruthi,
You can either go to the blog which I wrote by using this link:
https://medium.com/mendix/easily-create-custom-dependent-drop-downs-in-mendix-343a38b8041d
Here, I have explained how to achieve this requirement,
Also, you can look at the 'constraint by' feature of the reference selector,
You can learn more about the constraint by feature, by clicking on the link below:
https://docs.mendix.com/refguide7/reference-selector/#constrained-by
Let me know, if you have any issues,
Hope it helps!
Hi Sruthi,
If I understood your question correctly, you expect the values in the second dropdown to be displayed based on the selection made in the first dropdown.
Are you using datagrid 2 ?
Hi,
Use Accordian or Treewidget instead of a grid.
In the country dropdown, set the data source to Country and add an XPath constraint. The XPath constraint should refer to the selected Continent.
[Country_Continent/Continent = $currentObject/Continent]