0

Hi I am trying to show a single list that fetches data from two different oModels.

var Countries = {
    "countries":[
        {
            'country' : "AUS",
            'country_name' : "Australia"
        },
        {
            'country' : "USA",
            'country_name' : "United States of America"
        },
    ]
};

var CountriesStatus = {
    "countries":[
        {
            'country':"AUS",
            'status':"inactive"
        },
        {
            'country':"USA",
            'status':"active"
        }
    ]
};

Is it possible to load a single list where the title is Countries>country_name and description is CountriesStatus>status

Patrick Schocke
  • 1,493
  • 2
  • 13
  • 25

1 Answers1

1

As far as I know, this is not possible. The ListBinding accepts only one model. This means, if you want to bind an aggregation, you would have to join the data into a single model and bind that one.

Voyager
  • 820
  • 4
  • 11