Skip to Content
Feb 07, 2020 at 02:44 PM

SAPUI5: Structure for displaying Model Values in a Table.



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

    <Column name="Name">

    <Column name="Number">

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?