cancel
Showing results for 
Search instead for 
Did you mean: 

Add 1 item to oData ListBinding - SAPUI5

Former Member
0 Kudos

Hi,

i have got an table, where items ist bind via oData V2.

now i use oModel.createEntry() to put a draft version of this new entry into my model.

But, the new row does not appear in the table.

any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi, seems that the new community sends mails 😉

i just found asolution by my own. i still use the odata and bind it, but i don't use listbinding any more. i add a new line and bind this new line to the new item.

works fine 😉

Answers (1)

Answers (1)

pierre_dominique2
Contributor
0 Kudos

Hi,

AFAIK you have to use a JSONModel for this. createEntry creates an entry but you have to use submitChanges to actually create the entry in the backend and see it in the table.

Cheers,

Pierre