Element

Icon

Description

The developer determines the contents of a Data Table. He can configure the data table contents according to his needs as long as text values are used. The values can be entered during execution either by the user, or via a mapping from the process data.

TypeString
Prepopulation

This element cannot be prepopulated during modeling in the form editor.

Editing

Data Table Configuration Options

Use the Attributes panel to edit the form element.

AttributeDescriptionAllowed Values
Name

Description

Any string.
Rows per Page

In this field you can set the number of rows displayed by default in the executed table element.

Any number.
Label

Any string.
Column Configuration

Displays the number of currently visible columns. Clicking on the displayed number or opens the Column Configuration editor where you can define the contents of the data table.


No Data Text

In the executed form, this text will be displayed below the table header as long as no rows have been created.

Any string.
Add Row

Enables the icon in the executed form. The user can use it to add new rows to the table.


Remove Row

Enables the icon in the executed form. The user can use it to delete rows from the table.


Multiple Selection

Enables multiple row selection in the executed form. The user can select multiple rows in the table using the checkbox in front of each row. 


CSS Class

Symbol Type

_

Column Configuration Options

If you click icon the Column Configuration editor opens:

Use the editor to add and manage the content of your table. You have the following editor and configuration options:

Editor OptionDescription

Use the icon to delete a row.

Configuration OptionDescription

Name

Label

CSS Class

Type

Select a data type for the particular column. The following types are available:

  • String
  • Float
  • Boolean
  • DateTime
  • Integer

Sorting

Specify whether the content of this column should be sorted. You have two options:

  • Ascending
  • Descending

Editable

If you activate this checkbox, the user can edit the content of this column during execution.

Filterable

Specify whether the column should be usable as a filter in the executed form.

Hidden

Item Meta Data of Data Table Rows

You can get item meta data on data table rows during process execution that you can use when implementing your service. For data tables these are:

Meta AttributeTypeDescriptionValues
lastClicked
Boolean

Specifies whether the row has been clicked last.

You can use this attribute together with the click event of data table rows to let the user click on rows to select data and continue with the process. This is described in detail on Handling the Click Event of Data Table Rows.

trueThis row has been clicked last.
falseThis row has not been clicked last.
selected
BooleanSpecifies whether this row has been selected.trueThis row has been selected.
falseThis row has not been selected.
added
BooleanSpecifies whether this row has been added.trueThis row has been added.
falseThis row has not been added.
removed
BooleanSpecifies whether this row has been removed.trueThis row has been removed.
falseThis row has not been removed.
modified
BooleanSpecifies whether this row has been modified.trueThis row has been modified.
falseThis row has not been modified.

You can evaluate them in the On Exit execution of user tasks (refer to Working with the Execution Editor for more information). The form data contains an array representing the data table and its rows. Each row has an additional attribute _meta that contains the listed attributes. Using action script and the select you can easily evaluate the meta data. The following example code snippet shows how to get all table rows that have been added:

select each from formData.table where element._meta.added = true