Skip to main content
Version: 4.0

Table Column

Details a column in the table object.

Attributes​

Column​

Type​

Defines the column's cell type.

The default value is: text.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Attribute Values​
ValueDescription
textDefault value. Text content.
buttonButton content.
imageImage content.
htmlHTML content.
checkA check is displayed if there's any value other than "false" or "0".
checkboxA checkbox field.
It can edit the column's boolean value in the datasource without opening the edit popup or inline edit.
switchA switch field.
It can edit the column's boolean value in the datasource without opening the edit popup or inline edit.
indexThe row's index.
progressA progress bar.
selectionDisplays a check if the item is selected. This column is displayed only if the table's "Item Selection" attribute is true.
moveMove the item with drag and drop. Drop above or below a row's midpoint to insert before or after it, including the first and last rows.
Hold the pointer near the table's top or bottom edge to scroll while dragging.

Hidden​

Hides the column so it's not displayed in the table. A column can be hidden, but still have an edit field associated

The default value is: false.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Attribute Values​
ValueDescription
falseDefault value. Visible.
trueHidden.
viewmodeHidden in view mode, visible in edit mode.
editmodeHidden in edit mode, visible in view mode.

Data​

Data Name​

Specifies the datasource's column name to be associated with the table's column.

Attribute Values​
ValueDescriptionExample
<string>A valid datasource column's name.address

Data Index​

Specifies the index in the items array.

The default value is: auto.

Attribute Values​
ValueDescriptionExample
autoDefault value. Index based on column's index.
<int>A 0-based index.0
noneIs not associated.

JSON Value​

If true, interprets the cell value as a JSON object. Each key in the JSON object represents a column attribute.

Values specified in the JSON object will extend or override the initial column setup.

Only non-static attributes can be overridden.

E.g. { "type": "button", "action": "command", "buttonlabel": "hi", "style": "blue", "commandname": "hi" }

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Value is not interpreted as JSON.
trueCell value interpreted as JSON.

Format​

Specifies the language-sensitive format type to be applied.

The default value is: text.

Attribute Values​
ValueDescription
numberNumeric value, with optional unit or currency.
dateDate value.
timeTime value.
datetimeDate and time value.
relativetimeDate and time value.
time-intervalTime interval value.
listList value.

Time Data Format​

Specifies the data format, which determines how the value is parsed when received (through a UISet) or sent.

The default value is: extended.

Attribute Values​
ValueDescription
extendedDefault value. HH:mm:ss.SSSS Extended Format.
basicHHmmssSSSS Basic Format.
timestampUnix Timestamp: Seconds since the Unix Epoch (January 1, 1970 00:00:00 GMT).

Date Data Format​

Specifies the data format, which determines how the value is parsed when received (through a UISet) or sent.

The default value is: extended.

Attribute Values​
ValueDescription
extendedDefault value. YYYY-MM-DD ISO 8601 Extended Format.
basicYYYYMMDD ISO 8601 Basic Format.
timestampUnix Timestamp: Seconds since the Unix Epoch (January 1, 1970 00:00:00 GMT).

DateTime Data Format​

Specifies the data format, which determines how the value is parsed when received (through a UISet) or sent.

The default value is: extended.

Attribute Values​
ValueDescription
extendedDefault value. YYYY-MM-DD HH:mm:ss.SSSS ISO 8601 Extended Format.
basicYYYYMMDDHHmmssSSSS ISO 8601 Basic Format.
timestampUnix Timestamp: Seconds since the Unix Epoch (January 1, 1970 00:00:00 GMT).

Number Display Format​

Specifies the field's format.

Attribute Values​
ValueDescriptionExample
<JSON object>Format configuration object.{"format":"number","style":"unit","unit":"celsius","maximumfractiondigits":"1"}

Time Display Format​

Specifies the field's format.

Attribute Values​
ValueDescriptionExample
<JSON object>Format configuration object.{"format":"time","timestyle":"short","hourcycle":"h23"}

Date Display Format​

Specifies the field's format.

Attribute Values​
ValueDescriptionExample
<JSON object>Format configuration object.{"format":"date","datestyle":"medium"}

DateTime Display Format​

Specifies the field's format.

Attribute Values​
ValueDescriptionExample
<JSON object>Format configuration object.{"format":"datetime","datestyle":"medium","timestyle":"short"}

Relative Time Display Format​

Specifies the field's format.

Attribute Values​
ValueDescriptionExample
<JSON object>Format configuration object.{"format":"relativetime","relativetimeunit":"hour","numeric":"auto"}

List Display Format​

Specifies the field's format.

Attribute Values​
ValueDescriptionExample
<JSON object>Format configuration object.{"format":"list","liststyle":"short","type":"conjunction"}

Time Interval Display Format​

Specifies the field's format.

Attribute Values​
ValueDescriptionExample
<JSON object>Format configuration object.{"format":"time-interval","minprecision":"day","maxprecision":"hour","intervalunit":"hour"}

Foreign Key​

If specified, the column value is interpreted as a foreign key for either a linked datasource or the items attribute.

In datasource mode, cells display the corresponding value from the linked datasource's column specified in the "Label Data Name" attribute.

In list mode, cells display the corresponding value from the list of items specified in the "List" attribute.

In items mode, cells display the corresponding value from the items array, where every item is an array with the first element being the key and the second element being the label.

The default value is: none.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Attribute Values​
ValueDescription
noneDefault value. No foreign key.
datasourceDatasource foreign key.
listList foreign key.
itemsItems foreign key.

Datasource ID​

Specifies the ID of the linked datasource.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Attribute Values​
ValueDescriptionExample
<[Datasource ID]>A valid datasource ID.ds_addresses

Value List​

If true, treats the value as a comma-separated list of keys relative to the linked datasource. It shows a comma-separated list of labels, based on the "Label Data Name" attribute. Keys used in value lists must not contain commas.

The default value is: false.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Attribute Values​
ValueDescription
falseDefault value. Treat the value as a single key.
trueTreat the value as a comma-separated list of keys.

Label Data Name​

Specifies the linked datasource's column name to display instead of the key value.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Attribute Values​
ValueDescriptionExample
<[Datasource Column Name]>A valid datasource column name.address

List​

Sets the items. An item with a label "---" (three hyphen-minus characters) is treated as a separator and its value is ignored.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Attribute Values​
ValueDescriptionExample
<comma-separated list>Items specified as a comma-separated list.item1,item2,item3
<array>Items specified as an array of strings.["item1","item2","item3"]
<array of arrays>Items specified as an array of arrays. Each item has an array of value and label.[[1,"label1"],[2,"label2"],[3,"label3"]]
<array of arrays>Items specified as an array of arrays. Each item has an array of values that can be recalled from the template attribute.[[1,"label1","descr1"],[2,"label2","descr2"],[3,"label3","descr3"]]

Items​

Specifies the items.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

For the full item reference, see List Item.

Attribute Values​
ValueDescriptionExample
<JSON array>Array of list items.[{"value":"kitchen","label":"Kitchen"}]

Cell Style & Format​

Width​

The column's width.

Columns set to 'auto' width expand or contract to fill the remaining space of the table, after accounting for columns with fixed widths. Each 'auto' column maintains a minimum width of 100 pixels, ensuring consistent visibility and layout.

If the combined width of all columns exceeds the width of the table, the table becomes horizontally scrollable. This ensures that all columns, regardless of their individual or total width, remain accessible to the user.

The default value is: auto.

Attribute Values​
ValueDescriptionExample
<int>The column's width in pixels.200

Fixed Width​

Columns of type selection and move have a fixed width.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Align​

Specifies the cell's content alignment.

The default value is: left.

Attribute Values​
ValueDescription
leftDefault value. Left.
centerCenter.
rightRight.

Background​

Specifies the cell's background color.

Attribute Values​
ValueDescriptionExample
<html color>Color in any html accepted format.#ff0000

Column Header​

Label​

The label displayed in the column header.

The default value is: =@title:dataname.

Attribute Values​
ValueDescription
<string>A label.

Icon​

An optional icon to be displayed in the column header, before (or in place of) the label.

Attribute Values​
ValueDescriptionExample
<image>An icon image.icon:mdi#account-multiple

Summary Label​

If true, the footer column will contain a label of the row's content (Total, Average, Minimum or Maximum). If more consecutive columns have summary label set to true, they are merged (can be used to display the whole label if a single column is too narrow)

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. False.
trueTrue.

Summary​

Specifies the summary to be displayed on the column footer. Can be one or more values. If there's an active filter, the results are calculated using the filtered rows. If there's a selection, Selecting specific rows will calculate the results using only the selected rows

The default value is: none.

Attribute Values​
ValueDescription
noneDefault value. No summary.
sumShow sum of all the displayed column values.
avgShow the average value of all the displayed column values. If the column has type "check", show checked/total.
minShow the minimum value among the displayed column values.
maxShow the maximum value among the displayed column values.

Button Action​

Action​

Specifies the action performed when clicked/tapped.

The default value is: none.

Attribute Values​
ValueDescription
noneDefault value. No action.
editEdits the item.
deleteDeletes the item.
duplicateDuplicates the item.
commandSends a command to the server, with the specified name and parameter.
datapointToggles a datapoint.
linkChanges page, shows a popup or opens a URL.
downloadFires a download file request.
tabShows a specified container and hides the other of the same group.
cameralinkOpens a page with the specified camera address.
copyCopies the cell's value to the clipboard.

Command Name​

Specifies the command name that is sent to the server.

If the name starts with $, then the server will automatically set a variable with the same name as the command, containing the command's parameter.

The default value is: =id.

Attribute Values​
ValueDescriptionExample
<string>A command name.
$[variable name]A command name that sets a variable.$myvar
$[variable name]!A command name that sets a persistent variable.$myvar!

Parameter​

If set, specifies the command's parameter value. The default parameter is the key value of the row.

The default value is: [Row's key value].

Repeat​

If enabled, the command will be repeated every second. Instead of a single command on the button press event, multiple commands are sent with the following suffixes:

  • <command name>/down: on mouse down or touch down events
  • <command name>/repeat: if the button is still pressed, a repeat command is sent every second
  • <command name>/up: on mouse up or touch up events, for a short press (less than a second, so no repeat commands have been sent yet)
  • <command name>/stop: on mouse up or touch up events, for a long press (more than a second, so at least a repeat command has been sent)

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Repeat mode is disabled.
trueRepeat mode is enabled.

If set, specifies the link. The default link is the row's cell value.

Specifies where to open the linked URL. Available only for URL links.

The default value is: _self.

Attribute Values​
ValueDescription
_selfDefault value. Opens the linked URL in the same window or tab.
_blankOpens the linked URL in a new window or tab.
<string>Opens the linked URL in a named window or tab. Use this to open multiple links in the same window or tab.

Datapoint​

Specifies a datapoint, to display and control its status.

The default value is: [Cell's value].

Attribute Values​
ValueDescriptionExample
[datapoint address]The datapoint address.dummy.dimmer.1

Feedback​

If feedback is enabled, when the action is performed, a loader is displayed until the server responds.

Also the action can't be performed again until the server responds.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Feedback is disabled.
trueFeedback is enabled.

Confirm​

Requires a confirmation before performing the action.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. No confirmation, the action is performed right away.
doubleclickA second click (or touch or enter key) is required to confirm the action.
popupA popup is displayed to ask for confirmation.

Confirm Message​

The confirmation message to be displayed if the "confirm" attribute is set to "popup".

Attribute Values​
ValueDescriptionExample
<string>The message to be displayed in the confirm popup.Are you sure?

Confirm​

Edit Duplicate​

If true, opens the edit popup to allow changes before adding the item as new.

The default value is: true.

note

This attribute is experimental. It might not work properly and it might be modified or removed in a future release.

Attribute Values​
ValueDescription
trueDefault value. Edit the item before adding it as new.
falseDuplicate the item right away.

Text​

Text​

Specifies the text to be displayed in the cell.

The default value is: [Cell's value].

Attribute Values​
ValueDescription
<string>A text.

Template​

Defines an HTML template. The text parameter is split with pipe character (|) and each part is inserted in the template, replacing the %1;, %2;, $3;, etc. placeholders.

Attribute Values​
ValueDescriptionExample
<string>HTML template.<b>%1;</b> - %2;

Selectable​

Makes the text selectable.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. False.
trueTrue.

Detects urls, emails and phone numbers and displays them as hyperlinks. Phone numbers can be: E.164 format, [+]XXX XXX XXXX or [+]XXX-XXX-XXXX.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Disabled.
trueEnabled.

Button​

Copy Text​

Specifies the text to be copied in the clipboard when the button is clicked.

The default value is: [Cell's value].

Attribute Values​
ValueDescription
<string>A text.

Button Label​

Specifies the button's label.

Attribute Values​
ValueDescription
<string>Button's label.

Button Description​

Specifies a description displayed below the label.

Attribute Values​
ValueDescription
<string>Button's description.

Button Color​

Specifies the button color.

The default value is: default.

Attribute Values​
ValueDescription
defaultDefault value. Default color.
primaryPrimary color, used to highlight action buttons.
warningWarning color, used to highlight warning buttons.
successSuccess color, used to highlight success buttons.
errorError color, used to highlight error buttons.
lightLight color.
darkDark color.
red,blue,yellow,green,yellow,purple,orange,greenPalette colors.
customCustom color, defined in the "Custom Color" attribute.

Button Look​

Specifies the button's look.

The default value is: filled.

Attribute Values​
ValueDescription
filledDefault value. Filled look, with a solid background.
clearClear look, no background or border.
outlinedOutlined look, with a solid border.
glassGlass look, with a semi-transparent background.

Button Icon​

Specifies an icon to display. Its position is set with the "Icon Position" attribute.

Attribute Values​
ValueDescription
<icon>An icon or image.

Button Text Align​

Sets the horizontal alignment of the text.

The default value is: none.

Attribute Values​
ValueDescription
noneDefault value. No alignment.
leftLeft alignment.
rightRight alignment.
centerCenter alignment.
justifyJustified alignment.

Image​

Image​

Specifies the relative path of the image file to show.

The path is relative to one of the following folders:

  • Common images folder, for images shared among projects (www/img)
  • Project images folder, for project-specific images (www/projects/<project>/img) If an image with the same relative path is found in both folders, the project image is used.

The default value is: [Cell's value].

Attribute Values​
ValueDescription
<image>Relative path to the image file.

Icon Color​

Specifies the icon color.

Typography​

Font Family​

Specifies the font family.

The default value is: default.

Font Size​

Specifies the font size in pixels or percentage (relative to the project's font size).

The default value is: 14.

Attribute Values​
ValueDescriptionExample
<integer>Font size in pixels.
<percentage>%Relative font size in percentage.90%

Font Color​

Specifies the text CSS color.

Attribute Values​
ValueDescriptionExample
<html color>Color in any html accepted format.#ff0000

Font Weight​

Specifies the weight of the font.

The default value is: normal.

Attribute Values​
ValueDescription
normalDefault value. Normal.
boldBold.
bolderBolder.
lighterLighter.

Italic​

Show the text in italics.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Normal.
trueItalics.

Small Caps​

Sets the font to small caps.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Normal.
trueSmall caps.

Decoration​

Specifies the text decoration.

The default value is: none.

Attribute Values​
ValueDescription
noneDefault value. No decoration.
underlineUnderline.
overlineOverline.
line-throughLine through.

Progress​

Value​

Specifies the current value of the progress bar.

The default value is: [Cell's value].

Attribute Values​
ValueDescription
<int>Current value.

Max Value​

Specifies the maximum value of the progress bar.

The default value is: 100.

Attribute Values​
ValueDescription
<int>Maximum value.

Status​

Specifies the status of the progress bar.

active displays an animation over the progress bar.

success and error display icons in place of the value label.

auto chooses the status depending on the current value:

  • active if the value is less than the maximum value
  • success if the value is equal to the maximum value
  • error if the value is less than 0

The default value is: auto.

Attribute Values​
ValueDescription
autoDefault value. Chooses status depending on the current value.
idleIdle status, no animation.
activeActive status, displays an animation.
successSuccess status, displays a checkmark icon.
errorError status, displays a cross icon.

Color​

Specifies the color of the progress bar.

The default value is: auto.

Show Percentage​

Specifies whether the current percentage is shown.

The default value is: true.

Attribute Values​
ValueDescription
trueDefault value. Current value is shown.
falseCurrent value is not shown.

Other​

Import​

Specifies how the imported column values are parsed.

The default value is: value.

Attribute Values​
ValueDescription
falseImport disabled for this column.
valueDefault value. Import the value.
keyImports the key value, if there's a linked datasource.
formattedAttempts to parse the value when importing (results can vary depending on the input).

Export​

Specifies how the column values are exported.

The default value is: value.

Attribute Values​
ValueDescription
falseExport disabled for this column.
valueDefault value. Exports the value. Can differ from raw if there's a linked datasource or an edit field of type "select" .
keyExports the key value (as received from the datasource or from the items attribute).
formattedExports the formatted value.

Filter​

Controls whether the column's value is used when filtering the table.

If set to "formatted", the displayed value is used.

If Column Filters are enabled and this attribute is false, the column filter field is not displayed for this column.

The default value is: formatted.

Attribute Values​
ValueDescription
falseThe filter check skips this column.
valueThe filter is applied to the value.
formattedDefault value. The filter is applied to the formatted value.

Sort​

Specifies sorting behavior for this column. Applies only if table is sortable.

The default value is: ascii.

Attribute Values​
ValueDescription
asciiDefault value. Column is sorted using an lexicographical sort algorithm.
naturalColumn is sorted using a natural sort algorithm.
offColumn is not sortable.

Tooltip​

Specifies a tooltip to be displayed when the mouse hovers over the cell.

Attribute Values​
ValueDescriptionExample
<string>A tooltip.This is a tooltip

Edit Field​

Field Type​

Specifies the type of the edit field.

The default value is: text.

Attribute Values​
ValueDescription
noneNo edit field.
textDefault value. Single line text field.
multilineMulti line text field.
checkboxCheckbox.
selectSelect box.
radiogroupRadio group field.
dateDate picker.
timeTime picker.
datetimeDate and time picker.
time-intervalTime interval picker.
keypadKeypad.
hiddenHidden field, not displayed in the edit popup. Useful for sending data to the server.

Field Name​

Specifies the name of the field, used to send a command to the server, along with the field's value as a parameter.

If the name starts with $, then the server will automatically set a variable with the same name as the command, containing the command's parameter.

The default value is: =dataindex.

Attribute Values​
ValueDescriptionExample
<string>Command name.
$[variable name]A command name that sets a variable.$myvar
$[variable name]!A command name that sets a persistent variable.$myvar!

Placeholder​

Specifies a short hint that describes the expected value of the field (e.g. a sample value or a short description of the expected format).

The short hint is displayed in the input field before the user enters a value.

Attribute Values​
ValueDescription
<string>Placeholder text.

Field Icon​

Specifies the field's icon image.

Attribute Values​
ValueDescription
<image>Image path or icon id.

Clear Button​

Show a clear button that clears the field's value.

The default value is: false.

Attribute Values​
ValueDescription
trueShow the clear button when there's any value set.
falseDefault value. Hide the clear button.

Prefix​

Specifies a prefix to display before the field's value.

Attribute Values​
ValueDescription
<string>Prefix text.

Suffix​

Specifies a suffix to display after the field's value.

Attribute Values​
ValueDescription
<string>Suffix text.

Focus Tooltip​

Specifies a description tooltip to display when focusing the field.

Attribute Values​
ValueDescription
<string>Tooltip text.

Required​

Specifies if the field is required when adding and editing. If true, an empty/null value is considered not valid. When there are non valid fields, the confirm button focuses the first non valid field instead of sending data to the server, to prompt the user to fill in the required fields.

The default value is: auto.

Attribute Values​
ValueDescription
autoDefault value. If the table is connected to a datasource, this attribute is controlled by the datasource's nullable attribute on the specified column. Otherwise it's set to false.
trueA value is required. Where it applies, null values can't be selected.
falseAn empty/null value is accepted.

Add Value​

Specifies the default value in the add popup's edit field. This value is used to initialize the field's value when adding a new item. It's ignored when editing an existing item.

Attribute Values​
ValueDescription
<string>A default value.

Default Value​

Specifies the field's popup value when the field has no value. This allows a quick selection of a default value by pressing the Enter key or OK button.

For more information on the format of the value, see the specific field type:

Edit Field Options​

Checkbox Label​

Specifies a label that is displayed next to the field.

Attribute Values​
ValueDescription
<string>A label.

Keypad Label​

Specifies a label.

Attribute Values​
ValueDescription
<string>Label.

Min​

Specifies the minimum value allowed.

Attribute Values​
ValueDescription
<string>Minimum value.

Max​

Specifies the maximum value allowed.

Attribute Values​
ValueDescription
<string>Maximum value.

Digits​

Specifies the number of digits allowed.

Attribute Values​
ValueDescription
autoAny number of digits.
<int>Maximum number of digits.

Decimals​

Specifies the number of decimals allowed.

The default value is: 0.

Attribute Values​
ValueDescription
<int>Number of decimals.

Password​

Hides the typed value, providing a way for the user to securely enter a password.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Typed value is not hidden.
trueHide the typed value.

Field Data Mode​

Specifies the mode of the data.

The default value is: items.

Attribute Values​
ValueDescription
itemsDefault value. Data is set with the UI attribute Items.
listData is a list of comma-separated values. Set in the List attribute.
datasourceData is set by a linked datasource.

Field Datasource ID​

Specifies the ID of the datasource.

The datasource keys are used as values, while a column specified in Label Data Name is used as label.

The default value is: =datasourceid.

Field Label Data Name​

Specifies the name of the column containing the label.

The default value is: =labeldataname.

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Field List​

Sets the items. An item with a label "---" (three hyphen-minus characters) is treated as a separator and its value is ignored.

The default value is: =list.

Attribute Values​
ValueDescriptionExample
<comma-separated list>Items specified as a comma-separated list.item1,item2,item3
<array>Items specified as an array of strings.["item1","item2","item3"]
<array of arrays>Items specified as an array of arrays. Each item has an array of value and label.[[1,"label1"],[2,"label2"],[3,"label3"]]
<array of arrays>Items specified as an array of arrays. Each item has an array of values that can be recalled from the template attribute.[[1,"label1","descr1"],[2,"label2","descr2"],[3,"label3","descr3"]]

Field Items​

Specifies the items.

For the full item reference, see List Item.

The default value is: =items.

Attribute Values​
ValueDescriptionExample
<JSON array>Array of list items.[{"value":"kitchen","label":"Kitchen"}]

Multi​

Specifies if the field is multi select.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Single select.
trueMulti select.

Field Template​

Specifies the template for the items.

The template can contain placeholders for the values of the items. The placeholders are specified as %0;, %1;, %2;, etc.

For example, if the template is %0; - %1;, %2; and the item is ["value", "label", "descr"], the result is value - label, descr.

If the template is not specified, the items' labels are displayed.

Field Filter​

Displays an input field for filtering the items. After typing a value in the field or setting the Filter Value attribute, any item that does not match the input will be hidden. A match occurs when the filter value is found anywhere within any item's fields ('value', 'label', etc).

The default value is: false.

Attribute Values​
ValueDescription
trueDisplay the filter field.
falseDefault value. Hides the filter field.

Free Input​

Specifies if the user can input a value that is not in the list.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Only the items in the list can be selected.
trueThe user can input a value that is not in the list.

Specifies the width of the select's popup.

The default value is: auto.

Attribute Values​
ValueDescription
autoDefault value. Popup is wide enough to fit the content, but not wider than three times the field's width.
<int>Width in pixels.

Password​

Hides the typed value, providing a way for the user to securely enter a password.

In toggle mode, a toggle button is displayed that allows the user to show the typed value.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Typed value is not hidden.
trueHide the typed value.
toggleShow a toggle button that allows the user to show the typed value.
toggle-falseShow the toggle button, but show the typed value by default.

Sanitize Value​

Specified one or more sanitization options to apply to the field's value before sending it to the server.

Attribute Values​
ValueDescription
trimRemoves leading and trailing whitespaces and line breaks.
carriage-returnRemoves carriage returns.
non-printableRemoves non-printable characters.
lowercaseConverts the value to lowercase.
uppercaseConverts the value to uppercase.

Allowed Characters​

Specifies a regular expression that defines the characters allowed as input for the custom element. E.g. "[a-z]" will allow only lowercase letters.

It's applied to pasted values as well. Might not work on Android devices.

Attribute Values​
ValueDescription
[empty]Default value. No validation, all keys are allowed.
[a-z]Only lowercase letters.
[A-Z]Only uppercase letters.
[0-9]Only numbers.
[0-9a-zA-Z]Only numbers and letters.
[^\s\p{C}]Only printable characters.
<string>Regular expression.

Validate Value​

Specifies a regular expression that the field's value must match.

Attribute Values​
ValueDescription
[empty]Default value. No validation, any input is valid.
[a-z]+Only lowercase letters.
[A-Z]+Only uppercase letters.
[a-zA-Z]+Only letters.
[0-9]+Only numbers.
[0-9a-zA-Z]+Only numbers and letters.
<string>Any regular expression.

Min Length​

Specifies the minimum number of characters required for the field's validation.

Attribute Values​
ValueDescription
<int>Length in characters.

Max Length​

Specifies the maximum number of characters allowed in the field.

Attribute Values​
ValueDescription
<int>Length in characters.

Validate Tooltip​

Specifies a custom validation tooltip to display when confirming the field value (on a submit button action or automatically in autosend mode). Displayed only if the current value doesn't match the validation criteria defined by the required, validate value and min length attributes.

Attribute Values​
ValueDescription
<string>Validation tooltip.

Field Height​

Height of the edit field in pixels.

Step​

Specifies the step of the time picker, referred to the smallest unit of time that can be selected.

E.g. if the smallest unit is minutes and step is set to 15, the time picker will allow to select only times that are multiple of 15 minutes.

The default value is: 1.

Attribute Values​
ValueDescriptionExample
<int>Step of the picker.15

Precision​

Specifies the precision of the time picker, the smallest unit of time that can be selected

The default value is: minute.

Attribute Values​
ValueDescription
minuteDefault value. Minute.
secondSecond.
msMs.

Step​

Specifies the step of the time picker, referred to the smallest unit of time that can be selected.

E.g. if the smallest unit is minutes and step is set to 15, the time picker will allow to select only times that are multiple of 15 minutes.

The default value is: 1.

Attribute Values​
ValueDescriptionExample
<int>Step of the picker.15

Unit​

Specifies the unit of the value.

E.g. Unit: hour, Max Precision: hour, Min Precision: second. 5:30 will be parsed as 5.5. Unit: second, Max Precision: hour, Min Precision: second. 5:30 will be parsed as 330.

The default value is: hour.

Attribute Values​
ValueDescription
yearYear.
dayDay.
hourDefault value. Hour.
minuteMinute.
secondSecond.
msMs.

Min Precision​

Specifies the minimum precision of the time picker, the greatest unit of time that can be selected

The default value is: hour.

Attribute Values​
ValueDescription
yearYear.
dayDay.
hourDefault value. Hour.
minuteMinute.
secondSecond.
msMs.

Max Precision​

Specifies the maximum precision of the time picker, the smallest unit of time that can be selected.

The default value is: minute.

Attribute Values​
ValueDescription
yearYear.
dayDay.
hourHour.
minuteDefault value. Minute.
secondSecond.
msMs.

Min Value​

Specifies the minimum value of the time interval, in the unit specified by Unit.

Attribute Values​
ValueDescriptionExample
<float>Minimum value of the interval.5.5

Max Value​

Specifies the maximum value of the time interval, in the unit specified by Unit.

Attribute Values​
ValueDescriptionExample
<float>Maximum value of the interval.5.5

Time Value Options​

Specifies additional value options, which appear as buttons.

For the full item reference, see Value Option.

Default Values​
Applies WhenValue
interval=='false'[&#123;"value":"*", "label":"- -"&#125;,&#123;"value":"now", "label":"$now;"&#125;]
interval=='true'[&#123;"value":"*", "label":"- -"&#125;]
Attribute Values​
ValueDescriptionExample
<JSON array>Array of JSON options, each with value and label properties.[{"value":"+15m","label":"In 15 min"}]

From Date​

Specifies the earliest selectable date. Dates prior to this will not be selectable. The format is specified by the Data Format attribute.

"now" specifies the current date. "[+|-][y|M|w|d]" specifies a date relative to today, where y=year, M=month, w=week, d=day.

The default value is: 1900-01-01.

Attribute Values​
ValueDescriptionExample
<string>Date value formatted as specified in Data Format.2020-12-31
nowCurrent date of the browser.
[+|-][y|M|w|d]Relative date, where y=year, M=month, w=week, d=day.-1w

To Date​

Specifies the latest selectable date. Selection of dates beyond this point is not permitted. The format is specified by the Data Format attribute.

"now" specifies the current date. "[+|-][y|M|w|d]" specifies a date relative to today, where y=year, M=month, w=week, d=day.

The default value is: 2100-12-31.

Attribute Values​
ValueDescriptionExample
<string>Date value formatted as specified in Data Format.2020-12-31
nowCurrent date of the browser.
[+|-][y|M|w|d]Relative date, where y=year, M=month, w=week, d=day.+1w

Date Value Options​

Specifies additional value options, which appear as buttons.

For the full item reference, see Value Option.

The default value is: [&#123;"value":"*", "label":"- -"&#125;,&#123;"value":"now", "label":"$today;"&#125;].

Attribute Values​
ValueDescriptionExample
<JSON array>Array of JSON options, each with value and label properties.[{"value":"+1w","label":"Next Week"}]

Add/Edit Popup​

Edit Popup Column​

Specifies the column index in the add/edit popup. First column has index 1

Minimum value is 1.

The default value is: 1.

Attribute Values​
ValueDescription
<int>Column index starting from 1.

Edit Popup Order​

Specifies the order by which the fields appear in the add/edit popup's layout.

If set to auto, the fields appear in the same order as the table's columns, including hidden columns.

If set to a number, the order is the specified number, starting from 1.

For example: to swap the edit fields of the 3rd and 4th columns, set their Edit Popup Order to 4 and 3 respectively.

Minimum value is 1.

The default value is: auto.

Attribute Values​
ValueDescription
autoDefault value. Follows the column order, starting from 1.
<int>Specifies a new order.

Edit Popup Title​

Specifies a title header above the field, used to group multiple fields logically.

Attribute Values​
ValueDescriptionExample
<string>A title.Address

Edit Popup Description​

Specifies a description label that appears below the field, used to give more information about the fields.

Attribute Values​
ValueDescriptionExample
<string>A description.Insert your full name including the title

Hide Field​

Hides the field in the add and/or edit popup. If a field is hidden, its value is not sent to the server.

The default value is: false.

Attribute Values​
ValueDescription
falseDefault value. Visible.
addHidden in add popup, visible in edit popup.
editHidden in edit popup, visible in add popup.

Disable Field​

Disables the field in the add and/or edit popup. If a field is disabled, its value is not sent to the server.

The default value is: auto.

Attribute Values​
ValueDescription
autoDefault value. Auto: disabled in datasource mode when the datasource column is read-only.
falseAlways enabled.
addDisabled in add popup, enabled in edit popup.
editDisabled in edit popup, enabled in add popup.
bothDisabled in both add and edit popup.

Save Value​

Specifies if the value of this field is sent to the server when confirming an add or edit operation.

This attribute does not affect the pre-add, pre-edit, edit-change commands.

If set to "auto", the value is sent if the field is not disabled.

If set to "changed", the value is sent if the field's value is different from the initial value.

The default value is: auto.

Attribute Values​
ValueDescription
autoDefault value. The value is sent to the server if the field is not disabled.
trueThe value is always sent to the server.
falseThe value is never sent to the server.
changedThe value is sent to the server if the field's value is different from the initial value.