Configure query control styles

更新时间:
复制 MD 格式

After you configure query conditions, you can customize the query control's appearance in the Style panel.

Enter keywords in the Search box at the top of the Style panel to quickly locate a configuration item.

image.png

Click the image..png icon to Expand/Collapse All Categories.

image.png

PC style settings

Note

Font, border, background color, and spacing settings are not supported in Internet Explorer 11.

  • In Title and Card, configure the Title and Component Container.

    Parameter

    Description

    Title

    • You can show or hide the Title and configure its style.image.png

    • You can set a separator line.image.png

    Component Container

    You can configure Custom Background Fill (①), rounded corners (②), and card inner spacing (③).image.png

  • In Position and Layout, configure the following settings.

    Parameter

    Description

    Position on page

    You can choose Default or Pin to Top. When pinned, the control remains at the top of the page as you scroll.

    1.gif

    Expand all filter conditions by default

    When enabled, all filter conditions are expanded by default.

    2.gif

    Card height

    If Expand All Filter Conditions by Default is enabled, you can set the Card Height to adaptive height or Manual.

    With Manual, drag to adjust the height. A vertical scrollbar appears if the content exceeds the set height. When a manual height is set, you cannot collapse the filter conditions.

    image.png

    Condition arrangement

    Arrange conditions in a Horizontal or Vertical layout.

    • Horizontal: image.png

    • Vertical: image.png

    Condition position in container

    Choose left-aligned, center-aligned, or right-aligned.

    4.gif

    Condition spacing

    Adjust the Condition Spacing.

    41.gif

  • In Condition Box, configure the following settings.

    Parameter

    Description

    Box style

    The available box styles are Fill, Line, and Minimal.

    image.png

    Background color

    You can set the background color of the condition box.

    image.png

    Border

    You can set the width and color of the condition box border.

    image.png

    Rounded corners

    You can adjust the rounded corners of the condition box.

    image.png

    Text

    You can set the text color and font size for the condition box.

    image.png

    Customize condition style

    Apply more specific styles to individual query conditions based on their display type.

    Note

    If a condition's style is customized, it overrides the general styles configured above. Select reset to restore the default styles.

    • When the query control's display type is drop-down list, text input box, numeric input box, drop-down tree, or a standard date picker, you can set the Option Width, Background Color, Border, Rounded Corners, and Text Color for each condition.7.gif

    • When the query control's display type is a drop-down list, you can display it as tiled options or a fixed list.

      • When the control type is tiled options, you can set the Max Items to Show and the styles for selected and unselected states.

        image.png

      • When the control type is a fixed list, you can set the Default Number of Options to display.

        image.png

    • When the display type is a date picker and Shortcut Range is enabled, you can choose to display the shortcut ranges as a drop-down list or tiled options.

      image.png

      Note

      The tiled button style is available only when there are five or fewer shortcut range options.

      • For the drop-down list, you can configure the style of the Entire Box.

        image.png

      • For tiled options, you can configure the styles for the Shortcut Range Tiling and the date picker.

        • Shortcut Range Tiling

          image.png

        • Date Picker

          image.png

  • You can choose whether to show the Condition Name and configure its Position, Text style, and Spacing with Box.

    Parameter

    Description

    Position

    You can set the condition name's position to Above or Left. When set to Above, you can use left, center, or right alignment.

    9.gif

    Text

    You can configure the text style for the condition name.

    image.png

    Spacing with box

    You can adjust the Spacing with Box.

    image.png

  • In the Button section, you can configure Button Display, Button Position, Button Color, button rounded corners, and Text styles.

    Parameter

    Description

    Button display

    image

    Note
    • The Reset and Clear buttons are visible only if you enable them in the Button Display settings.

      • Reset: Restores query conditions to their configured default values.

      • Clear: Clears all values currently selected in the query conditions.

    • If Control A cascades to Control B, Control A is the parent of Control B. If you reset or clear Control A, Control B is also reset or cleared. However, resetting or clearing Control B does not affect Control A.

    • If you hide the Query button, queries run automatically when you change a condition value.111

    Drag the image icon on the left to reorder the buttons.

    30

    Button position

    Choose Default, Right of Conditions, Below Conditions, or Follow Conditions.

    • Right of Conditions

      image

      Align buttons to the Top, Center, or Bottom, and set the Button Arrangement to Horizontal or Vertical.

      34

    • Below Conditions

      image

      Set the button alignment to Left, Center, or Right, and set the Button Arrangement to Horizontal or Vertical.

      35

    • Follow Conditions

      image

    Button color

    You can set the Button Color.

    image

    Button rounded corners

    You can set the button rounded corners.

    image.png

    Text

    You can configure the text style for the button.

    image.png

Mobile style settings

  • In Title and Card, configure the Title and Component Container.

    Parameter

    Description

    Title

    • You can show or hide the Title and configure its style.image.png

    • You can set a separator line.image.png

    Component Container

    You can configure Custom Background Fill (①), rounded corners (②), and card inner spacing (③).image.png

  • In Position and Layout, configure the following settings.

    Parameter

    Description

    Position on page

    You can choose Default or Pin to Top. When pinned, the control remains at the top of the page as you scroll.

    12.gif

    Condition position in container

    Choose left-aligned, center-aligned, or right-aligned.

    13.gif

    Condition spacing

    Adjust the Condition Spacing.

    14.gif

  • In Condition Box, configure the following settings.

    Parameter

    Description

    Box style

    The available box styles are Fill, Line, and Minimal.

    15.gif

    Background color

    You can set the background color of the condition box.

    image.png

    Border

    You can set the width and color of the condition box border.

    image.png

    Rounded corners

    You can adjust the rounded corners of the condition box.

    image.png

    Text

    You can set the text color and font size for the condition box.

    image.png

    Customize condition style

    Apply more specific styles to individual query conditions.

    Note

    If a condition's style is customized, it overrides the general styles configured above. Select reset to restore the default styles.

    • Drop-down list

      • You can configure the background color, border, rounded corners, and text style for the condition.

        18.gif

      • Set the drop-down option style to List Options or Tiled Options and configure the number of columns or items per row.

        19.gif

    • Tiled options

      • You can configure rounded corners, and styles for the selected and unselected states.

        image.png

      • Set the number of options to display per row.

        image.png

    • Fixed list

      • You can configure the background color, border, rounded corners, and text styles.

        image.png

      • Set the number of columns.

        image.png

    • Date picker

      • When Shortcut Range is enabled for a date condition, you can choose between a drop-down list and tiled options.

        • For a drop-down list, you can configure the background color, border, rounded corners, and text style.

          image.png

        • For tiled options, you can configure the styles for the Shortcut Range Tiling and the date picker.

          Note

          The tiled button style is available only when there are five or fewer shortcut range options.

          • For Shortcut Range Tiling, you can configure the rounded corners and the styles for the selected and unselected states.

            image.png

          • For the date picker, you can configure the background color, border, rounded corners, and text style.

            image.png

      • When the date selection type is Single Date (e.g., a single year, day, month, or week) or the range type is Starts From or Ends At, you can configure the Arrow Position.

        image.png

    • Input Box

      For text and numeric input boxes, you can configure the background color, border, rounded corners, and text style.

      image.png

    • Drop-down tree

      • You can configure the background color, border, rounded corners, and text styles.

        image.png

      • Set the number of columns.

        image.png

  • You can choose whether to show the Condition Name and configure its Position, Text style, and Spacing with Box.

    Parameter

    Description

    Position

    You can set the condition name's position to Above or Left. When set to Above, you can use left, center, or right alignment.

    17.gif

    Text

    You can configure the text style for the condition name.

    image.png

  • In the Button section, you can configure Button Display, Button Color, and Text font size.

    image