Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Selecting data model dynamically

I have made a combobox where in years are provide as items(eg:-2014,2015,2016) . Now if user selects 2014 then according to that the data model should be selected and the panels should receive the data of year 2014 . Similarly if 2015 is selected then data model for 2015 should be selected and same for 2016 .

By default when we initialize the data for 2015 is available So if on change event of combobox if 2014 is selected then data for that year should be available. I tried to implement this by calling a function on the change event of combo box . and in that function if year 2014 is selected then the datamodel for 2104 is set for those TileContainer . But it did not work.

Can anyone suggest me some way to solve my problem?

Not what you were looking for? View more on this topic or Ask a question