I've been able to successfully bind a DropDown control in SAPUI5 to list values based on one model. My questions is: how do I bind a DropDown to one model that contains all possible values and one model that contains the actual value for that record?
Example:
Table (and first Model)
Name School
John Hopkins
Mary Horner
The school column is a DropDown, if I bind the DropDown to this model these are the only two schools that show up when in actuality there are five possible schools to choose based on the following model:
Second Model
School
- American
- Hopkins
- Horner
- Thornton
- Walters
Thought this would be simple, but haven;t been able to figure it out or find an example with searches.