g_HolderContentsGroup_Grid
Grid
Properties
caption : stringString indentifier for caption display in the UI.
collapseIcon : stringIcon used to collapse repeaters.
collection : stringIf blank, the Grid isn't data driven. Otherwise, the grid will be dynamically driven from the collection specified here.
An expression that specifies that a collection model must be set on the control.- Example
"" (empty string, or null) - all instances of the associated class for Forms and form controls. No collection for other controls like MenuItems.
(@@ ClassName) - all instances of the class specified by ClassName
(ControlName1 assoc1 ... assocN) ... (ControlNameM assoc1 ... assocX) - all instances filtered by the parent instances.
(@ assoc1 ... assocN) - variant of above example. All instances relative to the Form model.
collectionAnnotation : stringSpace separated list of annotations which do not exist in the Domain Model.
collectionLazy : booleanLoad the collection on display, not when the screen is loaded.
If true, the query for the dynamic grid will only be executed when the grid is displayed. Otherwise, the grid will be loaded when the screen is loaded.collectionNew : stringAlternative association path to use for create. Subclass name is optional. Format: "assoc1(SubClassName) ... assocN(SubClassName).
collectionOrderBy : stringOptional order by clause to be added to the Grid query: ((attr1 . asc1) ... (attrN . ascN)).
List of attributes or attribute and boolean pairs to indicate ascending (true) or descending (false).- Example
((name . #t) (company . #f))
collectionQuery : stringList of additional attributes to include in collection read query.
collectionValue : identifierListValue bind for data-driven Grid. Must be an attribute of the Grid's collection.
Passed as parameter to the UIEvent, if specified.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.
collectionWhere : stringOptional clause to be added to collection model query.
commit : CommitKindTODO: comment attribute commit
Valid values based on“string”. auto never always context : stringThe attribute, association path, or a constant specifying context indentifier to be set. For context bus adapter.
- See
- Application'contextImplementation
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.
controlAuto : booleanTODO: comment attribute controlAuto
controlDelete : booleanTODO: comment attribute controlDelete
controlInsert : booleanTODO: comment attribute controlInsert
controlUpDown : booleanTODO: comment attribute controlUpDown
delete : stringBoolean attribute name, or constant specifying whether the delete operation is allowed in the layout.
deletePrompt : stringDelete prompt string identifier. Valid if promptOnDelete is true.
The string indentifier may accept the Class name, and instance name args.edit : stringBoolean property specifying whether the insert, delete, or edit operations are allowed in the column.
editMode : FormEditTypeWhether the control is used for querying, or editing.
Valid values based on“string”. edit Marks the form as edit only.
query Marks the form as query only.
emptyListCaption : stringString indentifier for caption to be displayed when the list is empty in the UI.
emptyListCaptionAlign : AlignmentHorizontal alignment of the empty list caption.
- Example
left, right, center.
Valid values based on“string”. right center left enabled : stringThe attribute, association path, or a constant returning boolean to set enablement.
endOfListCaption : stringString indentifier for caption to be displayed when the end of the list is reached in the UI.
error : stringExpression returning non-#f if the message should be treated as an error. The raw message is passed as "this".
exclusive : booleanIf true lack of selection means disabling children collection query. Otherwise, children query is generated.
expandIcon : stringIcon used to expand repeaters.
factory : identifierListFactory method for many to many grid.
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.
form : identifierListThe form that is bound to this Grid.
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.
formCollapsible : booleanFlag indicating whether the form can be collapsed.
formCollapsibleLayout : stringWhen repeater form is specified points to a layout in the form which will be automatically expanded for current grid row.
The layout must be a child of the root layout.formVisible : booleanSpecifies if the attached form is visible. Useful only if 'form' attribute is set.
fullSelection : booleanSpecifies the ability of full selection in the Grid.
gearMenu : identifierThe Grid's gear menu. Must refer to an existing menu in the Form'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.
gridLines : booleanSpecifies if the grid contrain grid lines.
headers : booleanSpecifies if the Grid has attached column headers.
history : HistoryTypeSets the history behavior of the GridColumn. Values can be "auto", "true", or "false".
Valid values based on“string”. auto true false icon : stringIcon provides a means of visual recognition for the Grid.
insert : stringBoolean attribute name, or constant specifying whether the insert operation is allowed in the layout.
insertMenu : identifierTODO: comment attribute insertMenu
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.
maxRowCount : intThis property sets the maximum number of rows queried at a time. The count attribute of the request will be set to this number.
menu : identifierThe Grid's main menu. Must refer to an existing menu in the Form'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.
menuColumnTopSpacing : intSpecifies the spacing above the menu column icon. Vertically center aligned if not specified.
multipleSelection : booleanEnables multiple row selection in the grid.
multipleSelectionMenu : identifierThe Grid's multiple selection menu. Must refer to an existing menu in the Form'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 identifies the tabbable control.
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.
paging : PagingPaging determines the paging behavior of 'list' UI controls.
Paging affects any control that presents lists and has an <a href="#orderBy">orderBy</a> property. An Order By attribute must have a unique index defined in the persistence mapping/schema to be used in paging. This means that each attribute bound to sortable columns in a 'pageable' grid must be indexed. If not, all rows will be retrieved to the client for sorting.Valid values based on“string”. auto The model determines the best paging type to use.
The model looks at the Order By property of the UI control. If there is a unique index defined in the schema that starts with the attribute(s) listed in the Order By property, bookmark paging will be used. If there is a non-unique index defined in the schema that starts with the attribute(s) listed in the Order By property, offset paging will be used. If the Order By has no index, none-sortserver paging will be used. Enumeration value is 0.bookmark The model can use bookmark paging.
offset The model can use offset paging.
none-sortclient The model will have no paging and a sort on the server.
none-sortserver The model will have no paging and a sort on the client.
popupTooltip : identifierThe name of screen appearing as popup tooltip.
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.
popupTooltipJustification : RelativeJustificationThe popup tooltip justification relative to its anchor. One of "before", or "after".
Valid values based on“string”. before after popupTooltipPosition : RelativePositionThe position of the popup tooltip relative to its anchor. One of "above", "below", "left", or "right.
Valid values based on“string”. above below left right promptOnDelete : booleanPrompt the user before deleting an item.
query : stringList of additional attributes to include in read query.
reorderColumns : booleanSpecifies if the Grid can be reordered.
required : stringThe attribute, association path, or a constant returning boolean to set whether the value for the control is required.
If the attribute is required in the model, it takes precedence and one cannot change this setting in the UI. If the attribute is not required in the model, the requiredness can be set to an attribute, association path, or a constant returning boolean. If the value is set to #t, or the attribute value is true, the requiredness cannot be changed using 'required' view property that is set via client-side API. If the value is left blank, it is set to #f, or the attribute value is false, the requiredness can be changed using 'required' view property that is set via client-side API.resizeableColumns : booleanSpecifies if the columns in the Grid are resizeable.
rowDraggable : booleanSpecifies whether a row can be drag and dropped.
rowHeight : DimensionHeight of the control data rows (not repeater rows). Units can be one of pixels, points or percentage. If not set, use the default height set in the extraCSS "Grid-Row" style, or 26px.
- Example
100px, 100pt
Valid values based on“string”. (\d{1,8})|(\d{1,8}px)|(\d{1,8}pt)|(\d{1,8}%) rows : intThis property specifies the number of rows to query on the initial query in a paging-enabled (i.e. not 'none-' paging mode) grids. Subsequent page size may be adjusted depending on the actual rendered size of the Grid. Must be an integer.
This is not to be confused with rowSpan. RowSpan specifies how many rows the grid visually spans. Rows specifies how many internal rows the grid contains. For FlatMobile application, value of -1 is interpreted as no maximum row limit.scroll : booleanSpecifies if the GridColumn is scrollable.
showCaption : booleanSpecifies whether to display caption for the Grid.
showMenu : booleanSpecifies the visibility of the menu.
showMenuColumn : booleanSpecifies whether the menu column is shown. Useful only if 'showMenu' attribute is set to true.
showMoreOnRepeaterOverflow : booleanSpecifies if the more label will be shown then the contents of a repeater overflow outside of the grid.
showPageSizeSelector : booleanFlag indicating if the user is allowed to adjust the page size.
singleLineCaption : booleanWhen true grid caption is optimized to display caption, toolbar, and gear menu on a single line.
style : stringThe style of the GridColumn.
tabIndex : longThe index number of the tabbable control. Must be a long integer.
tabStop : booleanSpecifies if tabbing should stop on the tabbable control
toolbar : identifierThe Grid's main toolbar. Must refer to an existing menu in the Forms'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.
uninitializedListCaption : stringString indentifier for caption to be displayed when the list has not been initialized (ex. has not been queried for).
value : stringThe attribute to which the control will bind.
visible : stringThe attribute, association path, or a constant returning boolean to set visibility.
Content
Sequence of:
t_GridType_CaptionLayout [0..1]
t_GridType_GridColumn [0..*]
Parents
Parent topic: t_TableLayoutType_Rows_Row_Holder
Parent topic: t_SplitterLayoutType_Holder
Parent topic: t_ActionTileType_Icon
Parent topic: t_ActionTileType_Summary
Parent topic: t_ActionTileType_ActionIcon
Parent topic: t_ExpandableTileType_Icon
Parent topic: t_ExpandableTileType_Summary
Parent topic: t_ExpandableTileType_ActionIcon
Parent topic: t_ExpandableTileType_Detail
Parent topic: t_ExpandableTileType_Attachment
Parent topic: t_ExpandableTileType_Toolbar
Parent topic: reuseable-references