Successfully!

Error!

Pad Self-adaption

  • Last update:  2021-12-13
  • I. Overview

    1. Version

    Report designer versionAppHTML5 mobile display plugin
    10.0V10.0V10.0

    Note: Pad does not support re-layout.


    2. Application scenarios

    In the mobile office scenario, it is very inconvenient for users to carry computers, and it is difficult to read projects on mobile phones. Pads have become the best mobile office equipment.

    In order to reduce the time-consuming development and maintenance, mobile phones and pads often share a set of templates, and the two can be displayed self-adaption separately.


    3. Function introduction

    For the mobile terminal dashboard, after the Mobile Terminal Self-adaption is configured, the Pad terminal can be self-adaptively displayed, which is slightly different from the mobile terminal.

    II. Body component

    Mobile layoutbody layoutComponent zoomPreview effect
    Keep layoutAdaptive layoutHorizontal fit
    Width and height proportional scaling, horizontal adaptive full, vertical scroll bars may appear
    Vertical fitWidth and height proportional zoom, horizontal/vertical self-adaptive full
    Absolute layout
    Area fixed
    After cropping the blank part around, the width and height are scaled in equal proportions, and the horizontal direction is self-adaptive to full, and the vertical scroll bar may appear
    Area fitAfter cropping the blank part around, the width and height are scaled in equal proportions, and the horizontal/vertical direction is self-adaptively filled

    III. Report block

    1. Keep layout on mobile

    1)Component preview effect

    Body layoutComponent zoomWhether the report block occupies the entire rowReport block self-adaptionPreview effect
    Adaptive layout
    Horizontal adaptiveYes

    Horizontal FitFull width, height adaptive, support maximum height limit
    Vertical FitIt has a maximum height limit
    Bidirectional Fit
    Width and height adaptive full, support maximum height limit
    Non-adaptive-
    No-
    The same as the pc terminal, the width and height are distributed proportionally
    Bidrectional Fit
    -
    -
    Absolute layout---

    2)Component freezing effect

    Classiffication
    Report block self-adaptionWhether height limitLine freezeColumn freeze
    The component is horizontal adaptive, and the report block is a single-line report blockHorizontal adaptive
    Yes
    Support
    Not support
    NoNot support
    Vertical adaptive-Not supportSupport
    Bidrectional adaptive
    -Not supportNot support
    Non-adaptive
    YesSupportSupport
    NoNot support
    Other conditions
    Horizontal adaptive
    -
    SupportNot support
    Vertical adaptive-Not supportSupport
    Bidirectional adaptive-Not supportNot support
    Non-adaptive-SupportSupport

    4. Chart block

    1. Keep layout on the mobile terminal

    Layout stylePreview effect
    Horizontal adaptive

    If the chart block is side by side with other components, it is consistent with the PC side, and the aspect ratio is scaled.

    If the chart block occupies the entire row, it is highly adaptive, consistent with the effect of the report block.

    Bidirecitonal adaptive
    Consistent with PC end, width and height are distributed proportionally.
    Area fixed
    Area fit

    V. Widgets

    1. Keep layout on mobile terminal

    Classification
    WidgetPreview effect

    Adaptive layout-horizontal adaptive

    Absolute layout-Area Fixed

    Lebal widgetThe widget width and height ratio is Proportional zoomed, and the content can be scrolled beyond the display area.
    Text field widgetThe widget width and height ratio is Proportional zoomed, and the content can be scrolled beyond the display area.
    Radio button group/Check box group

    The widget width and height ratio is Proportional zoomed.

    Scroll beyond the display area, and adjust the height according to the content if the display area is insufficient

    Other widgets

    The widget width and height ratio is Proportional zoomed.

    But there are maximum and minimum height display, and the content of the widget in the width is not displayed, it will be truncated.

    Adaptive layout-Bidirectional adaptive

    Absolute layout-Area Fit

    Lebal widgetThe widget width and height ratio is Proportional zoomed, and the content can be scrolled beyond the display area.
    Text field widgetThe widget width and height ratio is Proportional zoomed, and the content can be scrolled beyond the display area.
    Radio button group/Check box group

    The widget width and height ratio is Proportional zoomed.

    Scroll beyond the display area, and adjust the height according to the content if the display area is insufficient

    Other widgets

    The widget width and height ratio is Proportional zoomed.

    But there are maximum and minimum height display, and the content of the widget in the width is not displayed, it will be truncated.

    VI. Tab block

    1. Keep layout on mobile

    Layout style
    Tab preview effect
    Horizontal adaptive
    • If the Tab block is in a row, the report block in the tab block is in a row, and it is adaptive according to the content of the component in the current tab page, and there is no scroll bar in the tab.

    • In other cases, the width and height of the Tab block are scaled in an equal ratio, and there is no scroll bar in the tab.

    Bidirectional adaptive
    The width and height of the Tab block are scaled in an equal ratio, and there is no scroll bar in the tab.
    Area Fixed
    The width and height of the Tab block are scaled in an equal ratio, and there is no scroll bar in the tab.
    Area Fit
    The width and height of the Tab block are scaled in an equal ratio, and there is no scroll bar in the tab.

    VII. Component hiding

    1. Normal hide

    The chart block, report block, and widget PAD terminal hide situation is shown in the following table:

    Note: Tab block does not support hiding.

    Whether it is visibleLayout stylePreview effect
    Visible-The component is displayed normally
    InvisibleAbsolute layoutComponents are hidden, placeholder
    InvisibleAdaptive layoutThe component is hidden, the position of the component will be adaptively filled by the surrounding components, and the component does not occupy a place


    2. JS hidden components

    JS controls that whether the components are visible or not, the PAD terminal is effective as shown in the table below:

    Layout styleWidget position
    JS event trigger effect
    Keep layout-horizontal adaptiveWidget occupies the entire row
    Widget does not occupy the entire row

    JS can control the visibility of components

    When invisible, the component position is left blank, and other components will not fill up adaptively

    Keep layout-Bidirectional adaptive-
    Keep layout-Area fixed-
    Keep the layout-Area fit

    3. Hide components in Tab

    The chart block, report block, widget, and PAD terminal hidden in Tab are shown in the following table:

    Whether it is visibleLayout stylePreview effect
    Visible-The component is displayed normally
    InvisibleKeep layoutComponents are hidden, and occupy the position

    Attachment List


    Theme: Fine Mobile
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback