cancel
Showing results for 
Search instead for 
Did you mean: 

Back Navigation button not visible in tablet resolution

Former Member
0 Kudos

Hi,

The back nav button is not visible when we run the application in SAP Webide with 800*600.

It is visible when we run with mobile resolution 320*480.

I have attached the screenshots in the attached doc.

Any ideas.

Regards

V

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Are you using a device model ? Did you check the value that is bound to the visibility property of the nav button ?

Former Member
0 Kudos

Hi Sakthivel,

My oRouter have the following code. Are you talking about this as a device model?

    this.oRouter.navTo(

               

  "detail",

                !jQuery.device.is.phone

  );

Regards

V

Former Member
0 Kudos

No. Can you show where you have defined the property showNavButton for the Page control ?

https://openui5.hana.ondemand.com/docs/api/symbols/sap.m.Page.html#getShowNavButton

Former Member
0 Kudos

Hi Sakthi,

In S3View.xml, the showNavbutton is defined as below

<Page title="Material Details"

  navButtonPress="onNavBack"

  showNavButton="{device>/isPhone}">

I changed the property of showNavButton="true", but still the nav button is not visible for the tablets and desktops.

Regards

V

Former Member
0 Kudos

Then maybe you're also disabling it in from your controller or in any of the router functions. Fyi, UI5 doesn't automatically hide the nav button based on device. It's is only handled in your code.

Former Member
0 Kudos

I checked all the controllers and router functions but we didn't handled the disable part in the code.