on 2020 Feb 07 2:44 PM
Hello,
as the Title states, i do have a Model which does look as the following:
exampleModel = [0:{name: "Hallo Welt", number: 0}, 1:{name: "example", number: 1}]
I do have in the View - XML:
a defined Table with
<Table>
<columns>
<Column name="Name">
</Column>
<Column name="Number">
</Column>
</columns>
</Table>
I would love to display the Values of exmapleModel for name, in the "Name" Column and number in the "Number" Column.
How do i do that?
You can do that by defining e.g. a JSONModel and using aggregation binding for your table. Please check the example here (you can switch to the code in the top right corner on that page).
For more details of course you can always check the official documentation at https://ui5.sap.com/ (search for binding in general and aggregation binding for your case).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.