[General] Mobile Style of the Checkbox Group

  • Last update:April 15, 2024
  • Overview

    Version

    FineReport Version
    App VersionHTML5 Mobile Display Plugin VersionFunctioal Change

    V11.0

    V11.0

    V11.0

    /

    V11.0.25

    V11.0.90

    V11.0.90

    Allowed you to customize the style of the checkbox group widget for mobile terminals.

    Function Description

    In templates on mobile terminals, the checkbox group can help you display multidimensional data with simple styles.

    In this case, you can optimize the display effect by customizing the mobile style of the checkbox group to Inline Button, Capsule Button, or Graphic Button

     1.png

    Function Introduction

    You can download the example template Checkbox Group Widget.frm.

    Application Scenario

    • This style setting only takes effect on mobile templates and is supported on both the DataAnalyst app and HTML5 terminals.

    • The style setting function is not applicable to general reports.

    • Only Component Background in Common Attribute is effective for expansion styles. If you enable the Widget Display Enhancement plugin, all setting items in Common Attribute are not effective for expansion styles.

    Function Entry

    1. Open a dashboard in the FineReport designer and add Checkbox Group Widget to the template.

    2. Select checkBoxGroup0 in the right Component Settings area and click Mobile Terminal, as shown in the following figure.

    • Style Template: allows you to set the style of the checkbox group widget to Default, Inline Button, Capsule Button, or Graphic Button.

    • Max Displayed Rows: allows you to set the maximum number of to-be-displayed rows when the checkbox group is displayed in multiple rows.

     2.png

    3. You can determine the display location of the Select All button. If you select Support Select All under Attribute > Advanced, the Select All button is first displayed in the expansion styles of the checkbox group by default, as shown in the following figure.

     3.png

    Style Pattern

    Default

    Click Default to customize the button effect. The following figure shows the effect on mobile terminals.

     

    Inline Button

    Click Inline Button to set its attributes. The following figure shows the effect on mobile terminals.

     

    The following table describes the settings of Inline Button.

    Attribute
    Note

    Component Background

    Allows you to set the background (transparent by default) of the component.

    Widget Padding

    Allows you to determine the distance from the widget border to the component border, which can be set to Top, Bottom, Left, or Right.

    Default value: 

    Top and Bottom: 15 px 

    Left and Right: 0 px

    Button Layout

    Allows you to use Natural Layout or Equal Layout.

    • Natural Layout: The button width adapts to the text size. Buttons are displayed in one row. You can view off-screen buttons by scrolling.

    • Equal Layout: The button width results from the formula Widget width/Total number of buttons.

    Button Background

    Allows you to set Initial Filling and Selected Filling.

    Border

    Allows you to set Line Type, Initial Color, and Rouded Corner.

    Character

    Allows you to set the size, initial color, and selected color of the character.


    Capsule Button

    Click Capsule Button to set its attributes. The following figure shows the effect on mobile terminals.

     

    The following table describes the settings of Capsule Button.

    Attribute
    Note

    Component Background

    Allows you to set the background (transparent by default) of the component.

    Widget Padding

    Allows you to determine the distance from the widget border to the component border, which can be set to Top, Bottom, Left, or Right.

    Default value: 

    Top and Bottom: 15 px 

    Left and Right: 0 px

    Layout Method

    Single-Line Display

    Natural Layout: allows you to align the button to the left.

    Justification: allows you to horizontally fill the button group.

    Autofill

    Allows you to set the button width to be self-adaptive to the text length and supports line wrapping if buttons cannot be displayed in one row.

    Fixed Column Quantity

    Allows you to fix the number of columns where buttons are displayed. The width of a single button results from the formula Component Quantity/Column Quantity. Line wrapping is supported if buttons cannot be displayed in one row.

    For example, if you have set Fixed Column Quantity to 3 when nine buttons are required, the buttons will be displayed in three lines.

    However, if you set Max Displayed Rows under Attribute > Advanced to 2, only the buttons in the first two rows can be displayed.

    Button Background

    Allows you to set Initial Filling and Selected Filling.

    Border

    Allows you to set Line Type, Initial Color, and Rouded Corner.

    Character

    Allows you to set the size, initial color, and selected color of the character.


    Graphic Button

    Click Graphic Button to set its attributes. The following figure shows the effect on mobile terminals.

     

    The following table describes the settings of Graphic Button.

    Attribute
    Note

    Component Background

    Allows you to set the background (transparent by default) of the component.

    Widget Padding

    Allows you to determine the distance from the widget border to the component border, which can be set to Top, Bottom, Left, or Right.

    Default value: 

    Top and Bottom: 15 px 

    Left and Right: 0 px

    Layout Method

    1. Single-Line Display

    Allows you to use Natural Layout or Equal Layout.

    2. Autofill

    Allows you to set the button width to be self-adaptive to the text length and supports line wrapping if buttons cannot be displayed in one row.

    3. Fixed Column Quantity

    Allows you to fix the number of columns where buttons are displayed. The width of a single button results from the formula Component Quantity/Column Quantity. Line wrapping is supported if buttons cannot be displayed in one row.

    Icon

    Allows you to set Initial Icon and Selected Icon.

    Allows you to upload custom images.

    Character

    Allows you to set the size, initial color, and selected color of the character.


    Attachment List


    Theme: Rachel
    Already the First
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy