Widget in Table column

Widgets in Table column are a little different from normal widgets. This page provides detailed information about these widgets.
Available widgets for Table column
  • If the editable property is true, the items on the selection list are editable:
    Widget Property Description
    ComboBox
    • urlForList
    • dataNameForList
    • labelField
    For more details, please refer to ComboBox widget.
    Select
    • urlForList
    • dataNameForList
    • labelField
    • valueField
    For more details, please refer to Select widget.
    CheckBox
    • checkValue
    • unCheckValue
    For more details, please refer to CheckBox widget.
    TextBox null You may set the value of the textbox from the dataName property of this column
  • If the editable property is false, the items on the selection list are non-editable:
    Widget Property Description
    Image null You may set the location of the image from the dataName property of this column.
    LabelFromList urlForList The urlForList property specifies the URL of the js file that contains the data of the list of choices that are available for selection on the widget.
    Link Text specify the text that would be displayed in the column.
    dataName If renderMode is
    • text, specify the text that would be displayed in the column by data binding. For constant text, this could be empty. The Data Name property has precedence over the text property.
    • image, specify the image URL extracted from the context.
    flowEvent specify the flow event that will be fired after the column is clicked on.
    dataNameForRow specify the data which stores the row of the clicked widget.
    dataNameForColumn specify the data which stores the column of the clicked widget.
    newWindow specify whether to trigger the link in the same browser window. The default value is false, which means there is no pop-up window when the column is clicked on.
    tooltip specify the text that would be displayed when the user places the mouse over the column.
    dataNameForTooltip specify the tooltip by data binding. The dataNameForTooltip property has precedence over the tooltip property.
    dataNameForClickable If the value is null or false, the widget is unclickable and rendered just as normal text or image. If the value is true, the widget is clickable.
    renderMode Available values for renderMode:
    • text (default value): The widget is rendered as text.
    • image: the widget is rendered as an image.
    Button Text specify the text that would be displayed in the column.
    dataName specify the text that would be displayed in the column by data binding. For constant text, this could be empty. The Data Name property has precedence over the text property.
    flowEvent specify the flow event that will be fired after the column is clicked on.
    dataNameForLink specify the URL where the browser navigates to. The dataNameForLink property has precedence over the flowEvent property
    dataNameForRow specify the data which stores the row of the clicked widget.
    dataNameForColumn specify the data which stores the column of the clicked widget.
    newWindow specify whether to trigger the link in the same browser window. The default value is false, which means there is no pop-up window when the column is clicked on.
    tooltip specify the text that would be displayed when the user places the mouse over the column.
    dataNameForTooltip specify the tooltip by data binding. The dataNameForTooltip property has precedence over the tooltip property.
    dataNameForClickable If the value is null or false, the widget is unclickable and rendered just as normal text or image. If the value is true, the widget is clickable.

ECA editor support

The following events, properties, and functions can be configured for editable Widgets in Table column with the ECA editor.
Event
Table 1. Events that can be added toWidgets in Table column by using the ECA editor.
Widget Event
Text
  • onChange
  • onBlur
  • onFocus
selectList
  • onChange
  • onBlur
  • onFocus
Combo
  • onChange
  • onBlur
  • onFocus
checkBox onChange
Property
Table 2. Properties that can be configured for Widgets in Table column by the ECA editor.
Widget Property
Text
  • Value
    Note: This property can be used in Conditionpart of ECA rule to get the Value of itself. To get other widgets' Values, please see getCellValue functions.
  • disabled
    Note: This property can only be used in the Actions part of ECA rule.
  • styleClass
    Note: This property can only be used in the Actions part of ECA rule.
  • readOnly
    Note: This property can only be used in the Actions part of ECA rule.
  • hint
    Note: This property can only be used in the Actions part of ECA rule.
selectList
  • Value
    Note: This property can be used in Conditionpart of ECA rule to get the Value of itself. To get other widgets' Values, please see getCellValue functions.
  • disabled
    Note: This property can only be used in the Actions part of ECA rule.
  • styleClass
    Note: This property can only be used in the Actions part of ECA rule.
  • readOnly
    Note: This property can only be used in the Actions part of ECA rule.
  • hint
    Note: This property can only be used in the Actions part of ECA rule.
Combo
  • Value
    Note: This property can be used in Conditionpart of ECA rule to get the Value of itself. To get other widgets' Values, please see getCellValue functions.
  • disabled
    Note: This property can only be used in the Actions part of ECA rule.
  • styleClass
    Note: This property can only be used in the Actions part of ECA rule.
  • readOnly
    Note: This property can only be used in the Actions part of ECA rule.
  • hint
    Note: This property can only be used in the Actions part of ECA rule.
checkBox
  • isChecked
    Note: This property can only be used in the Condition part of ECA rule.
  • disabled
    Note: This property can only be used in the Actions part of ECA rule.
  • styleClass
    Note: This property can only be used in the Actions part of ECA rule.
  • readOnly
    Note: This property can only be used in the Actions part of ECA rule.
  • hint
    Note: This property can only be used in the Actions part of ECA rule.
Function
These functions in Table 3 can only be used in the Action part of ECA rule.
Table 3. Functions that can be configured for Widgets in Table column by the ECA editor.
Widget Function
Text
  • showErrorMessage
selectList
  • showErrorMessage
  • loadStoreFromURL
Combo
  • showErrorMessage
  • loadStoreFromURL