Class 

sap.m.Select


About

The select control is built on a native html select element; it provides a list of predefined items that allows end users to choose options.


Use

The sap.m.Select have the option to use different backend sources. 


  • Application Class
  • Database Table
  • Domain



Source: Application Class




Source: Database Table




Tip: For the database source, you can aplso apply a filter for only those values you would like to present. No coding required



Source: Domain





Binding 


Bind the attribute selectedKey to retrieve the value of the Select. Applies to all different Select data sources.





Preview


Reference


API


Testsuite