Dropdownlist Control - Mendix Forum

Dropdownlist Control

0

Hi Team,

Adding a Dropdown List on a screen required it to be part of data view or data grid. Can we create this bind this dropdown with enumeration? or entity is must to populate data in dropdown.

 

Please let me know how can I place a single dropwdown on the page and do some work on it’s change event. From where I populate data for this.

Thanks

asked
1 answers
0

Hello,

  The Drop Down input widget can only be used for attributes that are enumerations. However, you can use the Reference Selector input widget to set associations between objects. So if you want to use an attribute value of another entity to populate a dropdown, simply make a many-to-one association between the two entities and put a reference selector on the page.

  I don’t fully understand the second part of this question. If you want to put a drop down or reference selector, you will need to put it in the context of an entity, so it will need to be inside a Data View. Can you be a little more detailed about your use case? 

answered