Skip to Content
0

Is OData an two way model

Oct 11, 2017 at 04:42 AM

52

avatar image

What is the default binding mode of OData model ? Please give the solution with an valid example / code.I find it very confusing, because on different sources it is mentioned differently.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

saurabh vakil Oct 11, 2017 at 08:19 AM
0

Refer OData V2 Model

Here it is clearly mentioned that OData Model V2 supports two way binding (only for property changes and not aggregations as yet) and its default binding mode is one way binding.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you Saurabh,

Could you share some code which would help to understand how OData works as an 2 way model.

Regards.

0
Sharath M G Oct 11, 2017 at 11:23 AM
0

Check this link: https://sapui5.hana.ondemand.com/#/sample/sap.ui.core.sample.DataStateOData/preview

oData as a model supports two-way binding i.e. data can be manipulated to both ends of binding.

Regards,

Sharath

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 05, 2017 at 07:05 AM
0

Hi Arjun Biswas,

OData is an two way binding i.e if we change in model it will reflected to view.

Regards,

Jyoti.c

Share
10 |10000 characters needed characters left characters exceeded