Table — category view
:::info Source
This page is generated from site/templates/table/category.xml and the official FLEXIcontent 5.x language files.
:::
Template parameters
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Layout custom titlecustom_layout_title | This will be displayed to frontend user, e.g. as tooltip of frontend layout switcher | text | — | — |
Item tabset
Basic
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Table classtable_class | Override Table class. adminlist by default, you can use table table-striped, table table-hover etc in regards of your framework | text | — | — |
Display
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Header row (field labels)show_field_labels_row | Show a row with field labels at the top of the items table | radio | — = Use Global0 = No1 = Yes | — |
Customize title column headercustomize_titlecol_header | Choose yes to use a custom header text for title column | radio | — = Use Global0 = No1 = Yes | — |
Title column header texttitlecol_header_text | Enter column header text. This can be a language string | text | — | — |
Toggleable columnstogglable_table_cols | Allow the user to toggle (hide/show) the table columns | radio | — = Use Global0 = No1 = Yes | — |
Item title
Item title
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Title maximum lengthtitle_cut_text | Item titles having more characters than this value will be trimmed and appended with ... | text | — | — |
Colors
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Text colortitle_color | Choose your text color | fccolor | — | inherit |
Background colortitle_bg_color | Choose your background color | fccolor | — | inherit |
Padding
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Padding toptitle_pad_top | Internal top spacing 0 | number | — | 0 |
Padding lefttitle_pad_left | Internal left spacing 0 | number | — | 0 |
Padding righttitle_pad_right | Internal right spacing 0 | number | — | 0 |
Padding bottomtitle_pad_bottom | Internal bottom spacing 0 | number | — | 0 |
Border
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Border radiustitle_border_radius | Rounding of the borders 0 | number | — | 0 |
Labels
Label styling
Colors
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Text colorlabel_txt_color | Choose your text color #ffffff | fccolor | — | #ffffff |
Background colorlabel_bg_color | Choose your background color #999999 | fccolor | — | #999999 |
Padding
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Padding toplabel_pad_top | Internal top spacing 2 | number | — | 2 |
Padding leftlabel_pad_left | Internal left spacing 4 | number | — | 4 |
Padding rightlabel_pad_right | Internal right spacing 4 | number | — | 4 |
Padding bottomlabel_pad_bottom | Internal bottom spacing 2 | number | — | 2 |
Border
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Border radiuslabel_radius | Rounding of the borders 3 | number | — | 3 |
Header row (Field labels)
Styling header cells of table
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Text colorth_txt_color | Choose your text color | fccolor | — | inherit |
Background colorth_bg_color | Choose your background color | fccolor | — | inherit |
Item rows (Field values)
Styling data cells of table
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Border colortd_border_color | Set color of the borders #dadada | fccolor | — | #dadada |
Border widthtd_border_size | Set thickness of the borders 0 | number | — | 0 |
HTML Version
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Text aligntd_txt_align | Choose text align in cell | radio | inherit = Inheritleft = Leftright = Rightcenter = Center | inherit (Inherit) |
Table styling
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Even rows backgroundtable_row0_bg_color | Select the background color of even table rows #ffffff | fccolor | — | #ffffff |
Odd rows backgroundtable_row1_bg_color | Select the background color of even table rows #f7f7f7 | fccolor | — | #f7f7f7 |
Text colortable_value_color | Select the color of text inside the table #555555 | fccolor | — | #555555 |
Hover colortd_bg_hoverbgcolor | Set the background color for over td | fccolor | — | inherit |