2.2.10.5 Select

2.2.10.5 Select

Properties of Select

  1. Id - unique identifier of the control

  2. Actions on Change - a place to inject a custom code or action in the event that the value changes. A common application of this is calling a Javascript Function.

  3. Bound Field - the Field Name that links the Control to the Data Model.

  4. GridData(LMS) - control's column values for Large, Medium and Small screens. Please refer to GridData for further details

  5. Style Class - assign a predefined SAPUI5 CSS or a CSS class defined in the CSS of the App

  6. Enabled - set a boolean value or a variable with type boolean from the Model to control the enable property

  7. Visible - set a boolean value or a variable with type boolean from the Model to control the visibility property

  8. Filter - filter settings to be passed to the entity set maintained in the Select Template

  9. Mandatory - set a boolean value or a variable with type boolean from the Model to control the mandatory property

  10. Advanced - properties of the control not available in the above list can be added here. 

Properties of Select Template

  1. Key - key indicator or variable from the entity set

  2. Text - Key description to be displayed from the entity set

  3. Model - oData model to be used

  4. Entity Set - Entity set to be called. Leave this empty if the Model selected is "configuration"

  5. Definition - only applicable if the Model selected is "configuration". This is define explicitly the values that will be available for selection.

     

Properties of Individual Items

  1. Id - unique identifier of the control

  2. Key - key indicator or variable

  3. Text - Key description to be displayed

  4. Text Direction - options are RTL (Right to Left) or LTR (Left to Right)

  5. Enabled - set a boolean value or a variable with type boolean from the Model to control the enable property

Step-by-step guide

How to add a Select

  1. Right click on a Form Element and select Add Select

  2. The Select and Select Template controls have been added

  3. Individual items can also be added into the Select Control by doing a Right click on the Select and select Add Individual Items

Related articles