Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

Real dynamic Data-Binding? Is it possible?

$
0
0

Hi everybody,

 

I'm trying currently to solve the following problem. I'm having ja JSON-Model which has an aggregation called "Orders". This attribute contains a bunch of order items (order nr, item, price, etc.). The UI shows at the starting point the opportunity to place on order. On the bottom of the few you'll find a button for creating another order. So actually I have to set the data-binding. The code for one input-field looks like the following:

 

<Inputtype="Text"value="{path: 'MyModel>/Order/0/number'}"id="inpNumber">

     <layoutData>

                <l:GridDataspan="L11 M7 S3"></l:GridData>

           </layoutData>

</Input>

 

So as you can see the binding is set to the first item "0". Is it possible to get there a dynamic number by clicking the button for creating another order??? I hope you'll understand what I mean and hope you can help me! Really looking forward to your answers!

 

Greetings

Stef

 

 



Viewing all articles
Browse latest Browse all 8150

Trending Articles



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