Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2067

Re: Binding combobox with JSONModel in XML view

$
0
0

Hi Sergio Guerrero,


thank you for your reply,


Am getting records with a specific level Ex.


with below two lines am able read the plotno of /results/1 only, if i change as "/results/2", then am able to read plotno of "result/2", please refer below code:


       var oList = oJsonModel.getProperty("/results/1");

       sap.m.MessageBox.information(oList.PlotNo);

 

and same Plotno am able to display on information box, using with below line.

sap.m.MessageBox.information(oList.PlotNo);

 

am trying to bind the items with results with below line please refer:

pic2.png

 

pic3.png

_getData function in the controller.. yes i have correctly building the URL with the filter, with this binding am getting results/1 of plotnot. in fact i can able to view 8 records in browser level all results, please refer below screen.


pic4.PNG


above screen there are 8 results with BpId, PlotNo, ValidFrom & ValiTo, from that i required only Plotno 's [ which is 8 ] to be bind with ComboBox.


Thanks to  Mr.Sai, as he suggest I was trying, but still am not getting / not able to bind with results PlotNo values with comboBox.

 

 

Regards,

Sid


Viewing all articles
Browse latest Browse all 2067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>