t_Table_Column

Column


Properties

augment : uiIdentifierA path to the view to augment with this view. Augmentation rules depend on the types of augmented and augmenting views. When augmented view is a layout, such as Composite, Tabs, or Switch, and augmenting view is also of the same type, the children views will be added to the augmented layout. When both augmented views are layouts but of different type, the augmenting view is inserted next to the augmented one. When augmented view is primitive, the augmenting view is inserted next to it. 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.caption : stringCaption text expressioncase : stringConstant expression switch value for which the column is shown. "*" matches any value.codes : stringAssociation path, or expression providing media codes (i.e. styles) Example In service requests we have codes="overdueResolutionMDAStyle" to display overdue requests in red based on the bound attribute. A simple example of an expression to set the column for all instances to the error style would be codes="&quot;error&quot;"converter : uiIdentifierConverter name. If not specified, value type name is used to generate it.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.crop : booleanTrue to crop iconscustomizable : stringSpecifies column behavior in setListColumn. If True column visiblity can be customized by user. Can contain a Scheme expression or the name of an attribute on a bound model or class. - If value is true, or if unspecified, visiblity option is enabled to user. - If value is false and visible property is true, option is disabled. - If value is false and visible property is also false, option is hidden. enabled : stringEnablement flag association path or expressionevent : identifierName of the UI event to fire when the view is clickedValid 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.icon : stringIcon name expressioniconCaption : stringIcon caption expressioniconCaptions : stringThe attribute, association path, or a constant specifying icon captions.icons : stringAssociation list of association paths or constants to the icon properties of the items in the collectionAssociation list of association paths or constants: (image|data|type|icon|default|lock . <a1> ... <an>|"<const>") Note that this isn't a list of values. It is simply the association path, or expression, to the icon of the items. It is called icons (plural) because it retrieves the icon(s) from the collection's item(s). Example Configuring data table avatar for Entity.meta <Table>    <Column ... icons="(image . image)(data . mimeData)(type . mimeType)(icon . icon)(default . &quot;icon:person&quot;)(lock . locking)" .../>    ... </Table> image - The name of the attribute that contains the image (usually of type Obj) from the current instance. The attribute name doesn't need to be called "image", but often is. data - Obj'mimeData attribute of type binary returning the image data. Always mimeData if the image attribute is of type Obj. type - Obj'mimeType attribute of type string returning mime type of the image data. Always mimeType if the image attribute is of type Obj. icon - optional. The name of an attribute of type string returning an icon name if the image is null default - optional. "icon:person" - A constant expression to fall back on if both image and icon are null lock - optional. The name of the attribute returning the optimistic locking value. Always locking if the image attribute is of type Obj.length : integerMaximum number of characters in a cellname : identifierUnique view nameValid 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.note : booleanTrue if column content is notepattern : stringConverter pattern Examples include date.m.f currency.s shortCurrency percent quantity priceCurrency shortDate {0;choice;0||1|{$};*}  - this syntax allows for different treatment of plurals {@$.fullName;link;;@i} time.m datetime.m.f {@$.fullName;string;} integer shortTimestamp ids.conversationsTo #,##0.## date.l.f longDate {@$.userPerson.fullName;string;} internationalPhoneprivilege : identifierAccess privilegeValid 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.removable : booleanDeprecated. Do not use.sections : stringAssociation path, or expression providing item group section captionssortable : booleanTrue if column can be sorted on. Unspecified to determine sortability automaticallytexts : stringAssociation path, or expression providing alternative text to iconstooltips : stringThe attribute, association path, or a constant specifying tooltips.unit : stringConverter unit association path or expressionvalues : stringAssociation path, or expression providing column valuesvisible : stringDefault visibility flag association path or expression Default visiblity set to a control but value can be overriden by script, client state, or control-specific mechanism such as setListColumn in a table. wrapped : booleanTrue if column content should wrap

Content


Parents

Parent topic: t_PickerConfiguration_Table

Parent topic: t_FormLayout_Table