Skip to Content
0

How to remove responsive behavior on sapui5 application

Jan 05 at 12:29 PM

101

avatar image
Former Member

Hello experts,

Is there any way to remove the responsive behavior on a sapui5 application?

Thank you in advance.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

avatar image
Former Member Jan 05 at 07:28 PM
0

I want some views with big tables to display in desktop mode and let the user zoom in and out on a mobile device.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Alex,

Still... I don't understand why removing responsiveness will help you achieve that. If you use "sap.m.Table" it will be responsive on Mobile and it will work just as well on desktops.

I would advise you to start exploring the samples for sap.m.Table here on your desktop and mobile devices and see if any fits your requirements. Full screen mode is not a complex thing to achieve with any sapui5 app.

Then, if you really can use Fiori Elements and use Smart components, it would be awesome. If not, stick with sap.m.Table as it wil make your app more compatible with both device types.For instance, Smart Tables make heavy use of OData V4 Annotations, so if you are able to services on that version, it will automate a lot of stuff for you (without any coding - Fiori Elements).

Regards,
Ivan

0
Ivan Mirisola
Jan 05 at 03:40 PM
0

Hi Alex,

Why would you want SAPUI5 to not be responsive? It is one of its core features.

There are SAPUI5 components that were made to be used on desktops "sap.ui.*". Those will take up more space on the screen and have some features not seen on the "sap.m.*" components.

Is this what you meant by responsive?

Regards,
Ivan

Share
10 |10000 characters needed characters left characters exceeded
Iftah Peretz
Jan 06 at 09:38 AM
0

Hi,

Can't the user zoom on mobile?

Have you tried this? Or Google other ways, including in the bootstrapping framework.

You can also have a link (in addition to the regular view) to some simple HTML page where you dump the data/table with a basic design.

Share
10 |10000 characters needed characters left characters exceeded
Irfan Gokak Jan 08 at 11:31 AM
0

Hi,

Use the controls from the library sap.ui.commons in SAP UI5 and build an app. All controls from this library only supports for desktop.

Share
10 |10000 characters needed characters left characters exceeded