1

Here is simple example of a calculation view data.

Id      Supplier  Artikel   Type     Revenue
1          S1      ART1     1000       500            
2          S1      ART2     1200       600
3          S1      ART3     1300       600
4          S1      ART4     1400       600

I consume the calc view data using ODATA services. But, I would like to know whether there is a way to loop through these rows and get the value of TYPE and REVENUE and set as LABEL and VALUE respectively for a TEXTFIELD using SAPUI5. Is there a possibilty of such kind or any example code or any ideas please do share.

Thanks

4

1 回答 1

0

您可以使用行中继器来显示迭代的标签值行,请参阅带有 OData 的行中继器示例,否则您可以使用带有聚合绑定的工厂函数

于 2014-02-28T13:40:21.777 回答