t_GroupLayoutType_TableLayout
TableLayout
Properties
caption : CaptionTypeString indentifier for caption display in the UI.
Valid values based on“string”. 80 (maxLength) Caption can be a maximum of 80 characters long.
case : stringA space separated list of metaclass names, primitive values or 'null' used to drive polymorphic display.
The case part of a polymorphic form switch. This is conceptually similar to a JAVA switch, but for UI. The value property of a parent GroupLayout contains the expression that the cases are evaluated against. If this resolves to a non-primitive, the cases are compared against the non-primitive's class type. Note: The class, all subclasses, and the 'null' case should be handled. If it resolves to a primitive, the cases are compared directly with the value. Note: All possible values and the 'null' case should be handled. That being said Enumerated values and booleans are most appropriate. All possible values must be covered by the cases - there is no 'else' case. Within the GroupLayout the cases are checked from left to right. The first Layout to match will be the one to display.- Example
Non-primitive case: The parent Grouplayout value property is set to EntityList. This is
a View Path to the the EntityList form. There are three child Layouts with cases of
1. null 2. Person UserPerson 3. Company. The currently selected instance in the model of
the EntityList form will determine which Layout will display. If an instance of Company
is selected in the EntityList then Layout 3 displays.
Primitive case: The parent GroupLayout value property is set to EntityList isPerson.
This is a View Path to the EntityList form and an Association Path to the isPerson attribute.
There again are three child Layouts with cases of 1. null 2. #t 3. #f. As
we move through the EntityList the Layouts will dynamically display based on the values in case.- See
- GroupLayout'value and the Person.screen detail GroupLayout
collapsed : booleanWhether the view should initially be collapsed.
collapsedDetail : booleanWhether the detail view should initially be collapsed.
control : identifierThe control type this should be rendered with.
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
enabled : stringThe attribute, association path, or a constant returning boolean to set enablement.
fixedHeight : booleanFlatWeb TableLayout optimization by fixing the height of the table after initial load. It may improve the performance in IE when there are many rows whose heights are not fixed.
horizontalMargin : intHorizontal space from exterior elements. Must be an integer.
horizontalSpacing : intHorizontal space from interior elements. Must be an integer.
icon : stringIcon provides a means of visual recognition for the TableLayout.
locale : stringThe locale for the TableLayout. Must be a two letter abbreviation.
menu : identifierThe TableLayout's main menu. Must refer to an existing Menu in the parent's collection of Menus.
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
name : uiIdentifierUniquely indentifies the TableLayout.
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter. Case and length are not restricted. Letters and numbers are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
style : stringStyle for the TableLayout background.
toolbar : identifierThe TableLayout's main toolbar. Must refer to an existing Menu in the parent's collection of Menus.
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
tooltip : stringThe attribute, association path, or a constant specifying tooltip.
treeNodes : identifierListTODO: comment attribute treeNodes
Valid values based on“token”. (:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*\s+)*(:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*)? Each element in the list must begin with a letter or underscore. Elements are space delimited.
verticalMargin : intVertical space from exterior elements. Must be an integer.
verticalSpacing : intVertical space from interior elements. Must be an integer.
visible : stringThe attribute, association path, or a constant returning boolean to set visibility.
Content
Sequence of:
t_TableLayoutType_Columns [1..1]
t_TableLayoutType_Rows [1..1]
Parents
g_HolderContentsGroup_GroupLayout - A grouping of layouts where only one is visible at a time.
Parent topic: Application_GroupLayout
Parent topic: t_GroupLayoutType_GroupLayout
Parent topic: Form_GroupLayout
Parent topic: Screen_GroupLayout
Parent topic: g_HolderContentsGroup_GroupLayout