Skip to Content
0
Aug 03, 2015 at 11:55 AM

Getting values from details page in split view

18 Views

Hello Experts,

I am creating a split app in which in one view itself i have a master and detail page is there.

in the master page i am getting the list of records from backend and on selection of list item the detail page is getting mapped.

In the deails page i have used an objectheader

var objHeader = new sap.m.ObjectHeader({

id : this.createId("oh9"),

numberUnit : "",

//numberState : sap.ui.core.ValueState.Success,

title : "{/modelDataDetail/Bname}",

number : "{/modelDataDetail/Address}",

statuses : [ new sap.m.ObjectStatus({

text : {

parts : [ {

path : "/modelDataDetail/City"

} ]

}

}),

],

attributes : [ new sap.m.ObjectAttribute("tpId",{

text : {

parts : [ {

path : "/modelDataDetail/State"

} ]

},

}), new sap.m.ObjectAttribute({}), ],

});

Now i am having a button edit which should fill the current objectheader details to an update dialog box, which i am unable to do.

Can you please help me in this.

Best Regards,

Vikash