on 07-12-2019 12:15 PM
Hello Experts,
Am new to UI5 and with first app am stuck with Combox Box Value Selection. Attaching the XML View and Controller for you to correct what am doing wrong...
Here first Table will display using Odata. Then am binding 2 ComboBox to JSON. Each ComboBox depends on other fields in the table. Basically a dynamic ComboBox. Problem is am getting the values from Odata read and binding to ComboBox doesn't seems to work.
Please help.
var oData2=that.getView().byId('Markets').getModel('Zmrkt').getData();
this won't work.
that.getView().byId('Markets')
you can set the model to the view, no need to set to specific ui element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Initially binding was done without specifying ui element. Even that doesn't work.
Now i have done binding again without ui element. Still doesn' work. Any ideas? I have doubt on Combo Box Object during runtime...Do you think this one is correct?
Also am getting this error during loading...
During a clone operation, a template was found that neither was marked with 'templateShareable:true' nor 'templateShareable:false'. The framework won't destroy the template. This could cause errors (e.g. duplicate IDs) or memory leaks (The template is used in aggregation 'items' of object '__component0---unassigned--Market_Seg').For more information, see documentation under 'Aggregation Binding'. -
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.