Skip to main content

Table

The table component displays data in a tabular format.This article introduces the detailed configuration method of the table component.

table

Private Properties

Parameters
Description
Default value
data sourceConfigurable data sources
BG Color#ffffff

List Data

After the data source is configured, the column name of the acquired data is displayed. The display name can be customized

Parameters
Description
Default value
The column name of the dataData Key

Title

Not displayed by default

Parameters
Description
Default value
TextTable header
SizeOptional value: 12~7216
Color#333333
ThicknessOptional values: Standard, BoldStandard
PositionOptional values: Right, Center, LeftLeft
BG Color#ffffff

Default Display

Parameters
Description
Default value
Font SizeOptional value: 12~7216
Color#333333
ThicknessOptional values: standard, boldStandard
PositionOptional values: Left, Center, RightLeft
BG Color#f0f2f5
Line Height36

Content

Parameters
Description
Default value
SizeOptional value: 12~7216
Color#333333
ThicknessOptional values: Standard, BoldStandard
PositionOptional values: Right, Center, LeftLeft
BG Color#ffffff
Height36

Row Style

Parameters
Description
Default value
Hover ColorBackground color of the row when moving in#f2f2f2

Pager

Default Display

Parameters
Description
Default value
Show RowsThe amount of data displayed on one page10
Font Color#ffffff
PositionOptional values: Right, Center, LeftCenter

Active Page

Follow the paginator display

Parameters
Description
Default value
Font Color#0070cc
BG Color#ffffff
Border Color#0070cc

Normal page

Follow the paginator display

Parameters
Description
Default value
Font Color#333333
BG Color#ffffff
Border Color#dedede

Export

Not displayed by default

Parameters
Description
Default value
Data ScopeThe number of exported data. Optional values: All, Current Page.current Page
BG Color#0066ff
AlignOptional values: Right, Center, LeftRight
NameExport
SizeOptional value: 12~7212
Color#ffffff
ThicknessOptional values: Standard, BoldStandard

Border

Follow Export Display

Parameters
Description
Default value
Thickness1
Color#ffffff
Line StyleOptional values: straight line, dashed line, dotted linestraight line

Aggregate

Not displayed by default

Parameters
Description
Default value
Aggregate functionsYou can customize multiple filter conditions to aggregate data
Statistical method:Sum, Average, Count

Inside Border

Default Display

Parameters
Description
Default value
Thickness1
Color#dcdfe6
Line StyleOptional values: straight line, dashed line, dotted linestraight line

Outside Border

Default Display

Parameters
Description
Default value
Thickness1
Color#dcdfe6
Line StyleOptional values: straight line, dashed line, dotted linestraight line

Node

Parameters
Description
Default value
WidthOverall width300
HeightOverall height200
XHorizontal coordinate
YVertical coordinate

Application Examples

Displays the temperature data reported by a sensor device every day in the past 30 days in a table.

list_01


FAQ

1. Which data source is referenced in this case?

Please refer to (Statistics of the average temperature, maximum temperature, and minimum temperature of each day in the past month)

2. How does a component configure a data source?

Please refer to (Component Configuration Data Source)

3. How to set the background of the table dragged onto the canvas to be transparent?

Please set the background transparency of the following parts to 0 and the color to ffffff

  • Private properties
  • Header
  • content
  • Normal page

For specific operation methods, please refer to: list_01

4. How to set different colors for the data in the table to distinguish the display according to specific conditions?

The following are configuration examples of text color and cell background for reference. list_01