Skip to Content

Is OData an two way model

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 11, 2017 at 08:19 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 11, 2017 at 11:23 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 05, 2017 at 07:05 AM

    Hi Arjun Biswas,

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

    Regards,

    Jyoti.c

    Add comment
    10|10000 characters needed characters exceeded