cancel
Showing results for 
Search instead for 
Did you mean: 

Data Binding

malathi2608
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Sharathmg
Active Contributor

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

malathi2608
Explorer
0 Kudos

Thank you Sharath,

I will try this

malathi2608
Explorer
0 Kudos

Hi sharath,

I have tried the way you said. As I am a beginner, Can you please explain it clearly.

I don't know exactly where to bind the data because there is a path already exists.

Could you please share any examples.

Kind Regards,

Malathi.P

Sharathmg
Active Contributor