cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Master-Detail on Mobile

Former Member
0 Kudos

Hi,

I want to develop an application based on master-detail template.

Application works good on desktop, but in mobile mode, the layout not worked.

In mobile mode, the Master list is display normally, but click action on a list Item doesn't work. I don't enter on function event in debug ...

(It works on desktop mode)

Have you an idea ?

Thx,

Accepted Solutions (1)

Accepted Solutions (1)

PMarti
Active Participant
0 Kudos

Hi Gricourt, you need define press event on ObjectListItem too.

Check new best practices of master-detail page on github:

openui5-masterdetail-app/Master.view.xml at master · SAP/openui5-masterdetail-app · GitHub

Regards,

Pau

Former Member
0 Kudos

Hi,

I have defined the List as follow :

var oList = new sap.m.List("mainlist", {

  mode: "{device>/listMode}",

  select:function(oEvent){

  oController.handleListSelect(oEvent);

  }

});

But ok, i try your recommandation.

Former Member
0 Kudos

Ok, thanks Pau, it works with the addition of ObjectListItem.

I have others problems with the back navigation, so i try to implement your complete solution.

Have you a tutorial which explains the code ?

Thx a lot.

Answers (0)