Table Column
Table columns are the individual column components that make up a table. They are not independent as components, but exist as children of the table. Columns can be added by clicking the "Add" button in the upper right corner of the table properties.
The columns added here are table columns. Table columns are arranged in a tabular format in the table properties. Click on a tab element to access the properties of the corresponding table column.
Table columns are divided into the following column types:
| Column Type | Data type | Value setting | Example of value setting |
|---|---|---|---|
| Text | string | display string | apple |
| Number | number | display value | 12345 |
| Date | string | display string | 2023-01-01 |
| Date Time | string | display string | 2023-01-01 10:00Z |
| Time | string | display string | 10:00Z |
| Checkbox | boolean | true: on, false: off | true |
| Rating | number | number of stars | 5 |
| Avatar | string | • display avatar path or URL • text of 2 characters or less | /avatar.jpg |
| Image | string | Image path or URL | /image.jpg |
| Icon Button | string | icon specification string | AddCircle |
| Button | string | button label | Edit |
| Link | string | link label | Link |
Property
| No | Item | Input Value | Default Value | Action Property | Type | Action Default Value | Description |
|---|---|---|---|---|---|---|---|
| 1 | ID | String | Auto-generated | id | string | Auto-generated | The [id] property cannot be set by actions. |
| 2 | Label | String | label | string | Column label | ||
| 3 | Column Type | Selection 1. Text 2. Number 3. Date 4. DateTime 5. Time 6. Checkbox 7. Rating 8. Avatar 9. Image 10. Icon Button 11. Button 12. Link | Text | Column type | |||
| 4 | Width | Number | 100 | width | number | 100 | Column width |
| 5 | Color | String Color Picker | color | string | Column color | ||
| 6 | Top | Number | 16 8 [Icon Button] 7 [Checkbox] | paddingTop | number | 16 8 [Icon Button] 7 [Checkbox] | Top margin of each cell in the column Added in v3.4.0 |
| 7 | Right | Number | 16 7 [Checkbox] | paddingRight | number | 16 7 [Checkbox] | Right margin of each cell in the column Added in v3.4.0 |
| 8 | Bottom | Number | 16 8 [Icon Button] 7 [Checkbox] | paddingBottom | number | 16 8 [Icon Button] 7 [Checkbox] | Bottom margin of each cell in the column Added in v3.4.0 |
| 9 | Left | Number | 16 7 [Checkbox] | paddingLeft | number | 16 7 [Checkbox] | Left margin of each cell in the column Added in v3.4.0 |
| 10 | Input Adornment Position [Text/Number] | Selection 1. None 2. Start 3. End | None | inputAdornmentsPosition | string | Symbol and unit display position | |
| 11 | Input Adornment [Text/Number] | String | inputAdornments | string | Symbol and unit text | ||
| 12 | Halign | Selection 1. Left 2. Center 3. Right | [Detail 1] | halign | string | [Detail 1] | Horizontal alignment |
| 13 | Format [Number] | Selection 1. None 2. #,# 3. #,#.00 | None | format | string | none | Number format |
| 14 | Format [Date] | Selection 1. yyyy/MM/dd 2. MM/dd/yyyy 3. dd/MM/yyyy | yyyy/MM/dd | format | string | yyyy/MM/dd | Date format |
| 15 | Format [DateTime] | Selection 1. yyyy/MM/dd hh:mm aa 2. MM/dd/yyyy hh:mm aa 3. dd/MM/yyyy hh:mm aa | yyyy/MM/dd hh:mm aa | format | string | yyyy/MM/dd hh:mm aa | DateTime format |
| 16 | Max [Rating] | Number | 5 | max | number | 5 | Rating maximum value |
| 17 | Precision [Rating] | Number | 1 | precision | number | 1 | Rating minimum unit |
| 18 | Image Width [Image] | Number | 40 | imageWidth | number | 40 | Image width |
| 19 | Image Height [Image] | Number | 40 | imageHeight | number | 40 | Image height |
| 20 | Object Fit [Image] | Selection 1. Cover 2. Contain 3. None | Cover | objectFit | string | cover | Image display method |
| 21 | Variant [Avatar] | Selection 1. Circular 2. Rounded 3. Square | Circular | variant | string | circular | Avatar style |
| 22 | Variant [Button] | Selection 1. Contained 2. Outlined 3. Text | Contained | variant | string | contained | Button style |
| 23 | Size [Checkbox] | Selection 1. Small 2. Medium 3. None | Medium | size | string | medium | Checkbox size. When None is selected, Font Size becomes active.Added in v4.2.0. |
| 24 | Size [Rating] | Selection 1. Small 2. Medium 3. Large 4. None | Medium | size | string | medium | Rating size. When None is selected, Font Size becomes active.Added in v4.2.0. |
| 25 | Size [Avatar] | Selection 1. Small 2. Medium 3. Large 4. None | Medium | size | string | medium | Avatar size. When None is selected, Avatar Width/Avatar Height becomes active.Added in v4.2.0. |
| 26 | Size [Button] | Selection 1. Small 2. Medium 3. Large 4. None | Small | size | string | small | Button size. When None is selected, Button Width/Button Height becomes active.Added in v4.2.0. |
| 27 | Size [Icon Button] | Selection 1. Small 2. Medium 3. Large 4. None | Small | size | string | small | Icon button size. When None is selected, Icon Button Width/Icon Button Height becomes active.Added in v4.2.0. |
| 28 | Button Width [Button] | String | buttonWidth | number/string | Button width. Only effective when Size is set to None. Uses MUI default size when not specified.Added in v4.2.0. | ||
| 29 | Button Height [Button] | String | buttonHeight | number/string | Button height. Only effective when Size is set to None. Uses MUI default size when not specified.Added in v4.2.0. | ||
| 30 | Icon Button Width [Icon Button] | Number | 40 | iconButtonWidth | number | 40 | Icon button width (px). Only effective when Size is set to None.Added in v4.2.0. |
| 31 | Icon Button Height [Icon Button] | Number | 40 | iconButtonHeight | number | 40 | Icon button height (px). Only effective when Size is set to None.Added in v4.2.0. |
| 32 | Avatar Width [Avatar] | Number | 40 | avatarWidth | number | 40 | Avatar width (px). Only effective when Size is set to None.Added in v4.2.0. |
| 33 | Avatar Height [Avatar] | Number | 40 | avatarHeight | number | 40 | Avatar height (px). Only effective when Size is set to None.Added in v4.2.0. |
| 34 | Font Size [Checkbox] | Number | 24 | fontSize | number | 24 | Checkbox font size. Only effective when Size is set to None.Added in v4.2.0. |
| 35 | Font Size [Rating] | Number | 24 | fontSize | number | 24 | Rating font size. Only effective when Size is set to None.Added in v4.2.0. |
| 36 | Font Size [Button] | Number | 14 | fontSize | number | 14 | Button label font size. Only effective when Size is set to None.Added in v4.2.0. |
| 37 | Underline [Link] | Selection 1. Always 2. Hover 3. None | Always | underline | string | always | Link underline setting |
| 38 | Start Icon [Button] | Selection | None | startIcon | string | Button start icon | |
| 39 | End Icon [Button] | Selection | None | endIcon | string | Button end icon | |
| 40 | Cache Disabled [Image/Avatar] | Boolean | OFF | cacheDisabled | boolean | false | Cache usage state for image Added in v4.1.0. |
| 41 | Visibility | Boolean | ON | visibility | boolean | true | Column show/hide |
| 42 | Disabled [Button/Icon Button] | Boolean | OFF | disabled | boolean | false | Disabled state |
| 43 | Click Event [Image/Link] | Selection 1. None 2. Action | Action | Click event | |||
| 44 | Click Event [Button/Icon Button] | Selection 1. None 2. Upload 3. Action | Action | Click event |
| Property | Column Type |
|---|---|
| Input Adornments Position | • text • number |
| Input Adornments | • text • number |
| Number Format | • number |
| Date Format | • date |
| Date Time Format | • date time |
| Maximum Value | • rating |
| Minimum Value | • rating |
| Image Width | • image |
| Image Height | • image |
| Object Fit | • image |
| Style | • avatar • button |
| Size | • checkbox • rating • avatar • button • icon button |
| Button Width | • button |
| Button Height | • button |
| Icon Button Width | • icon button |
| Icon Button Height | • icon button |
| Avatar Width | • avatar |
| Avatar Height | • avatar |
| Font Size | • checkbox • rating • button |
| Underline | • link |
| Previous Icon | • button |
| Next Icon | • button |
| Inactive | • button • icon button |
| Click Event | • image • icon button • button • link |
[Details 1] Halign (halign)
Halign (halign) default value depends on the column type.
| Column Type | Default Value |
|---|---|
| Text | Left (left) |
| Number | Right (right) |
| Date | Right (right) |
| Date Time | Right (right) |
| Time | Right (right) |
| Checkbox | Center (center) |
| Rating | Left (left) |
| Avatar | Center (center) |
| Image | Left (left) |
| Link | Left (left) |
| Button | Center (center) |
| Icon Button | Center (center) |
Event
| Event Name | Description |
|---|---|
| onclick | For click event "Action": Occurs when a component in a cell is clicked.For click event "Upload": The action is executed when the "Open (O)" button is clicked after the file is selected. |