Property
|
Description
|
---|---|
id
|
The identifier for the widget.
|
dataName
|
The dataName property specifies the name of the data element that is used to cache the record in the table that is submitted.
|
dataNameForList
|
The dataNameForList property specifies the name of the data, from a UDTT context or a JSON string that contains the records for the table.
|
noDataMessage
|
This property indicates a message displaying on the Table widget while there is no data to show.
|
isPageable
|
The isPageable property specifies whether the table is single page table or pageable table. The default value is false. If the value is true, Pagination tab would appear where the user can complete the configuration.
|
sortEnabled
|
The sortEnabled property specifies whether the rows on the table can be sorted by a user or not.
If sortEnabled is set to true, starting visibility=hidden would cause problems. You cannot apply these 2 functions together.
|
nestedSort
|
The nestedSort property specifies the following methods for sorting table rows:
Nested column sorting
▪ The value of nestedSort property: true (default value)
▪ Description: If you sort column A first and then sort column B, column B is sorted based on the sorting result of column A.
Single column sorting
▪ The value of nestedSort property: false
▪ Description: The sorting result of a column totally depends on the data in this column. The result is not reflected by the sorting result of other columns.
The nestedSort property is available only if the sortEnabled property is set to true.
|
columnReordering
|
Indicates whether the columns can be reordered or not. The default value is false.
|
visibility
|
Defines how a widget is displayed on a GUI. The following values can be specified for this property:
visible
The widget is displayed on a GUI and users are able to interact with the widget.
hidden
The widget is not displayed on a GUI, but it occupies space on the GUI.
gone
The widget is not displayed on a GUI, and it does not occupy space on the GUI.
|
hint
|
A description of the widget that is displayed as a tooltip for a user. This property has multilingual support.
|
readOnly
|
To ensure that the Table widget and all the widgets that are contained in the Table widget are read-only, you must set the value of the readOnly property to true and select Editable in the Details panel of the Columns tab, which is in the Table view of the Properties tab. If you do not select Editable, the widgets that are contained in the Table widget can be edited by a user.
|
selectionMode
|
The selectionMode property specifies the number of rows that can be selected by a user. Values that can be specified for the selectionMode property are none, single, and multiple.
|
selectionRequired
|
The selectionRequired property specifies whether a user is required to select a record. If the selectionRequired property is set to true and the user does not select a record, an error message displays.
|
isActionable
|
The isActionable property specifies whether to take action when a row on the table is double-clicked. The options for this property:
▪ false default value: no action would be ran.
▪ true: if there is an action, the action would be ran. Action tab would appear where the user can complete the configuration.
Generally, double-clicking a cell would enter the editing mode, instead of starting the action if the cell is editable and readOnly property is set false. Thus, it would start the action only when the cell is not editable and readOnly property is set true.
|
disabled
|
When the table is disabled, the background is set to be gray, indicating that it is not allowed to do all the operations, such as row selection, column reordering, scrolling, sorting, and editing.
|
styleClass
|
The styleClass property specifies the name of the CSS style ( also known as CSS style class) associated with the widget. This property is set by selecting a style from the CSS styles table in the Style tab of the Properties view. If you do not configure the styleClass property, the default style is used instead. For more detailed information, refer to Setting CSS style to widgets.
|
width
|
The width property specifies the width of the widget. This property is set in the Appearance tab of the Properties view.
|
height
|
The height property specifies the height of the widget. This property is set in the Appearance tab of the Properties view.
|
frozenColumnNum
|
The frozenColumnNum property specifies the number of the frozen columns. The value can be only Number type (The default value is 0). The scope must be between 1 to the total number of columns:
▪ less than 1: none of the columns are frozen.
▪ more than the total number: all of the columns are frozen.
▪ Hidden column is not included.
|
resizable
|
The resizable property specifies whether the table column can be resized by mouse action. If it is set true (default), users can drag the column side to expand or shrink its size. If it is set false, users cannot change its size.
|
cellOverflow
|
The cellOverflow property specifies whether to show the whole text when the length of the text is too long for the cell.
▪ whole: This is the default value. Show the whole text.
▪ ellipsis: Show an ellipsis that is appended to the truncated text.
|
headerRows
|
The 'headerRows' property is mandatory. It specifies how many rows are shown as the table header. It is used to support multi-header in a table when it is set to any integer value > 1 (Default = 1).
|
cellMerge
|
The 'cellMerge' property specifies which cells in table body are merged.
|
indirectSelection
|
This 'indirectSelection' property specifies whether the table can be indirectly selected (with radio button or check box preceding each row) or not. The default value is false.
|
widgetType
|
The widgetType property controls whether to use full grid or simple grid table widget. The following values can be specified.
Auto
Default value. The widget type is automatically determined by UDTT according to the table generation rules. If all properties, events, and functions that are used in the table comply with the rules, simple grid table widget is used. If there is at least one property, event, or function that does not comply with the rules, full grid table widget is used.
For more information on the table generation rules, see Table generation rules.
Full Grid
Uses full grid table widget with all features. This option might have impact to the performance of table widgets. You can use this option for tables that frequently display lots of rows where full grid table widget will all Dojo features might be faster.
Simple
Uses simple table widget with limited features.
For more information on this feature, see Using the table rendering feature of table widget.
|
Property
|
Description
|
---|---|
ID
|
This property is the identification of the column.
|
text
|
The text property specifies the text that is displayed as the header of the column.
|
dataName
|
The dataName property is the name of the data element to which the column is bound. Currently only simple data and record(KColl) are supported.
|
width
|
The width property specifies the width of the column.
|
alignment
|
The alignment property specifies the alignment of the text in the cells of the table. Three values are available for the alignment property:
Left
Center
Right
The default value is Left.
|
Visible
|
The visible property specifies whether the column is visible or not. The default option is checked. If it is unchecked, the column would be hidden and
▪ For auto-sized table, the table would get shrunk. If all columns are hidden, the table would completely disappear.
▪ For fixed-sized table, the table would remain the original size and leave some blanket space on the right. If all columns are hidden, the table would show a blanket layout.
For auto-sized table, the error icon would also disappear. So it is suggested to set fixed size for the table.
|
Sortable
|
This property specifies whether
|
editable
|
The editable property specifies whether the cells in the table can be edited by a user. If the property is set false, the cell is only for read, and cannot be edited. Its value decides the selection list of widget property.
|
widget
|
The widget property is the widget to which the column is bound. Its selection list depends on whether the editable property is true or false. For details, see Widget in Table column.
|
Property
|
Description
|
---|---|
operationNameForPagination
|
The operationNameForPagination property specifies the technical operation name for the pagination table.
|
directPagination
|
The directPagination property specifies whether the number of pagination table rows is known. The default value is false.
|
paginationType
|
The paginationType property specifies the pagination type that is registered in the btt.xml file. Default value is default.
|
RowsPerPage
|
The RowsPerPage property specifies the number of rows for each page in pagination table. The default value is 25.
|
timeout
|
The timeout property specifies the length of time after which an Ajax request time-out in a pagination table. Default is 500 milliseconds.
|
paginationWhenLoading
|
The paginationWhenLoading property specifies pagination or not when first loading the page. The default value is false.
When the value is true, it might cause problems to get focus of other widgets through ECA rules. So do not set focus of other widgets on this condition.
|
initialInputMapping
|
The initialInputMapping property specifies the initial page input mapping. This property is enabled when a value of true is specified for the paginationWhenLoading property.
|
nextInputMapping
|
The nextInputMapping property specifies the next page input mapping. This property is enabled when a value of false is specified for the directPagination property.
|
previousInputMapping
|
The previousInputMapping property specifies the previous page input mapping. This property is enabled when a value of false is specified for the directPagination property.
|
directInputMapping
|
The directInputMapping property specifies the direct page input mapping. This property is enabled when a value of true is specified for the directPagination property.
|
normalOutputMapping
|
The normalOutputMapping property specifies the normal response output mapping
|
errorOutputMapping
|
The errorOutputMapping property specifies the error response output mapping.
|