cancel
Showing results for 
Search instead for 
Did you mean: 

sapui5 property binding in table

wvh
Explorer
0 Kudos

Hi folks,

I am rather new to sapui5 playing around with display of data in a table.

Binding the rows of a simple json seems to work, but somehow it does not bind

the property values. The model "projects" is instantiated in the component, with some json

added to it (this works, checked in debugging). The model also binds to the table, but

properties are not bound. So I see an empty table with no values.

the JSON file :

here is the xml (can somebody spot the mistake in the property bindings ?:(example : <m:Text value="{Id}"/> ) :

Accepted Solutions (1)

Accepted Solutions (1)

BhargavaReddy
Active Participant
0 Kudos

Hi,
1> sap.m.Text control doesn't have value property. should be use text instead value.

2> Binding if you're using named model then u should mention model name as well "{MyModel>id}".

Kind Regards,

Bhargava

Answers (1)

Answers (1)

former_member466198
Participant
0 Kudos

Hi Wouter,

try this:

<m:Text value="{projects>/ID}"/>

thanks

Abhishek