0
votes

I'm trying to build a Table in SAP UI5. I have an Odata-Service, which has the two EntitySets ColumnSet and DataSet.

In my ColumnSet there are multiple Entities with some parameters like id, id-num and so on.

Now I want to bind the name-attribute from the entities to the Column-Names shown in the UI.

Im using a XML View.

An entity will look like this:

enter image description here

And for the talbe:

enter image description here

So at the Position, where now "Name1" stands, I want to show the "Id" of ColumnSet(0), which would be "USER".

But I dont know how to bind this properly.

Thank you in advance.

1

1 Answers

0
votes

You need to bind the text element inside the column element.

Example:

<Column>
<Text text=“{/USER}“>
</Column>