Salesforce

Column Properties (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Column Properties (Magic xpa 2.x)

Property

Description

Mobile Support

Model

You can double-click the Model property to access the Field Model list. Field models have the following attributes:

  • All field model qualifiers are inherited by the column.

  • If the column name is empty, it is set to the field model’s name.

All

Column title

The column title in a Table control.

If you want to write a multi-line text in your column title, activate the Wide option (F6) while parked on this property.

Multi-line is supported for the Rich Client column.

All

Sortable

If this property is set to Yes, the values in the table column can be sorted. When sorting the records, the server is accessed.

This property is only enabled when the task has a main source and a column.

This property is not enabled when there is a Blob variable or Image control on the column.

When the user clicks a Sortable column:

  • For SQL data sources, Magic xpa sends the request to the database using a SELECT statement together with ORDER BY. If you have a large view, this can take a considerable amount of time.

  • For Btrieve data sources and for Virtual variables attached to columns, Magic xpa creates a temporary sort table and therefore the focused record after the sort will be the first record.

Rich Client support: Since version: 1.5

Context Menu

The context menu to be used for the column. See also Context Menu.

Android, Windows Mobile

Top Border

Lets you define whether the top border of each cell in the table will be displayed.

This property accepts a Yes or No value that is immediately reflected on the form in Studio and Runtime mode. This property also accepts an expression for a dynamic value. The expression should evaluate to a Boolean value and is resolved at runtime. Using an expression allows the borders to be painted for each row in the handled column.

If this property is set to Yes, the top line (row divider above the cell) will be displayed.

If this property is set to No, the top border will not be displayed.

If the cell is the top cell of the table, the top border will always be displayed.

Note: This property is available in Online tasks only.

Right Border

Lets you define whether the right border of each cell in the table will be displayed.

This property accepts a Yes or No value that is immediately reflected on the form in Studio and Runtime mode. This property also accepts an expression for a dynamic value. The expression should evaluate to a Boolean value and is resolved at runtime. Using an expression allows the borders to be painted for each row in the handled column.

If this property is set to Yes, the right vertical line (column divider on the right side of the cell) will be displayed.

If this property is set to No, the right border will not be displayed.

If the cell is the right-most cell of the table, the top border will always be displayed.

Note: This property is available in Online tasks only.

Horizontal alignment

The horizontal alignment of text in the column. The valid values are: Left, Center, and Right.

Vertical alignment

The vertical alignment of text in the column. The valid values are Top, Center, and Bottom.

Additional information

Specifies additional information related to the control or form on a mobile device. (This property is for future ongoing releases of mobile clients.)

This property is available in Rich Client tasks only.

Since version: 2.1

Android and iOS

Font

The font for text that appears in the column.

All

Color

The color for the column.

Visible

Specifies whether the column will be visible to the user. Android and iOS support – Since version: 2.4c

All

Placement

Defines whether the column is resized when the table is resized.

For columns that have the Placement property set to Yes, the columns are resized proportionally according to the total number of columns. For example, if each of the four columns has Yes set for the Placement property, then each column will be 25% of the table.

For columns that have Placement property set to No, the column size will not change.

See also Control Placement.

All

Width

The initial width of the column in units of measurement.

All

Control's layer

If the selected Choice control is linked as a child to a parent, the Control’s Layer property indicates to which of the parent control’s choice layers the selected control is linked. For example, assume that a combo box that has three selections in its menu is on the form layout. If you link an Edit control to the third selection, then the number 3 displays in the Edit control's Control’s Layer property. This property always appears disabled, and can only be changed from the form layout. This property is relevant only for columns that are linked to Choice controls.

Windows Mobile

Reference
Attachment 
Attachment