Skip to Content
avatar image
Former Member

How to remove responsive behavior on sapui5 application

Hello experts,

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

Thank you in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

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

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

    Add comment
    10|10000 characters needed 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

  • Jan 05 at 03:40 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 06 at 09:38 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 08 at 11:31 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded