Skip to Content
-1

Data Binding

Hello friends,

Here I have attached a image displaying existing data from a northwind database. Now I want to add a new data in categories(Master view).Please help me to do that.

kind regards,

Malathi. P11.png

11.png (104.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 08, 2017 at 06:49 AM

    You may have directly bound the results from oData to the Categories list in the master view.

    Create a local model variable. ex: var catModel of type JSONModel. Trigger the service and bind the results of the service to the local model.

    Then, bind this local model path to the categories list.

    Tip: At every step debug the code in the browser to check if the data is retrieved from backend service and then bound to the local model.

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded