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

Re: Load variable with data without databinding?

$
0
0

Hello,

thank you, the answers below.

 

"where you are stuck?"  I want to store the data from a Odata Service collection into an array. I want this to happen independently of controls in the view. as of matter of fact, I wonder if it is possible even before databinding takes place.

 

"don't know how to get data from odata service?" that is not the question. I am not asking how to Bind Recodrs/Data with controls in the view.

 

Based on this Fiori-like app created in this Blog

 

1. component.js sets the odata model.

2. an array defined on detail.controller.js should store all "SoId"" values directly from this json modell without fetch them from the view

 

Kind Regards,

Gabriel


Viewing all articles
Browse latest Browse all 2720

Trending Articles



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