on 08-26-2020 8:27 AM
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}"/> ) :
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wouter,
try this:
<m:Text value="{projects>/ID}"/>
thanks
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.