Skip to Content
0
Former Member
Jun 03, 2014 at 12:12 PM

Update the detail page in a splitview based on the masterview selection

22 Views

Hi Al

I want to display a SplitApp as shown below

when the list is selected in the master page. a list showing the details of the selected items in the masterpage has to be displayed in the detail.

The list doesnot get updated.

The code i am using is given below:

var context =evt.getSource().getSelectedItems();

var obj=evt.getParameter("listItem").getBindingContext("mock").getObject();

var app=this.getView();

var oModel=app.getModel("mdl");//model that is bound to the list

var modelData=oModel.getData();

modelData.mData.push(obj)

oModel.updateBindings();

Attachments

Capture.PNG (45.3 kB)