Skip to content

Table Column

Properties

General

PropertyTypeDescription
Allow editingbooleanSpecify if user can edit cell in column. Editing have to be enabled in table for this option to work.

Visual

PropertyTypeDescription
Data typesingle selectSelect option for data type Allowed values: string, number, date, boolean, datetime.
Column WidthtextInput where user can specify width of column in pixels.
Column min WidthtextText value for min width
Group Indexsingle selectSingle dropdown in which user can specify order of grouping in the column in ascending order. Allowed values: None, 1, 2, 3.
Column IdtextText value for id
Column Visibilitysingle selectSingle dropdown in which user can specify if column is visible, hidden in column chooser or removed from table.
Lock columnbooleanEnable or disable lock column
Allow sortingbooleanSpecify if user can sort column. Sorting have to be enabled in table for this option to work.
Sort ordersingle selectSelect option for sort order Allowed values: None, Ascending, Descending.
Allow resizingbooleanSpecify if user can resize column. Resizing have to be enabled in table for this option to work.
Captioni18n textInput where user can specify what is displayed in header of column.
Use header cell templateadd element using booleanSpecify if header cell template will be used in column. We have access to many variables in components inside. First example is that we can get data from global/app/local data hub using {{ global.someVariable }}. Second example is access to all E1DatagridColumn properties using {{ column.caption }} syntax.
Use cell templatebooleanSpecify if cell template will be used in column.
Cell templatecell templatesSingle select dropdown where user can specify which template will be used in column. Depending on selected template button for further configuration will be shown.
Summarysingle selectSelect option for summary type Allowed values: Sum, Minimum, Maximum, Average, and 2 more.

Event_actions

PropertyTypeDescription
EventseventsConfigure event handlers

Datasource

PropertyTypeDescription
Data FieldtextInput where user can change field that will be displayed in column.
Lookup strategysingle selectDetermines how the lookup dropdown is populated. 'None' disables lookup filtering. 'Static list' uses a manually configured list of items. 'Datasource' fetches items from a configured datasource. Allowed values: None, Static list, Data Source.
Lookup static itemsstatic dropdown dataStatic list of items displayed in the lookup dropdown. Each item has a value (used for filtering) and a text (displayed to the user).
Lookup datasourcedatasourceDatasource used to fetch lookup items for the column filter dropdown. Only GET datasources are supported.
Lookup value expressiontextField name from the datasource response used as the filter value (key/ID). Defaults to 'id' if not specified.
Lookup display expressiontextField name from the datasource response used as the display text in the lookup dropdown. Defaults to 'name' if not specified.
Lookup multi-selectbooleanWhen enabled, the column filter uses a multi-select header filter (checkbox list) instead of a single-select dropdown. Users can select multiple values to filter the table.

Events

EventDescription
On column value changeEvent: ON_COLUMN_VALUE_CHANGE

Additional Information

Category: Table

Current Version: 9