View Field Editor

The view Page in the application that displays data but does not contain interactive fields the user can modify. Usually a table listing things like accounts or other sets of data and providing links to related actions or forms. field In a database or a user interface, a single item of information; attribute. editor is used to control the data-display aspects of a column within the view. Each column in a view displays the value of a single field.

To edit a field for a view, go to Configuration > Pages > List Views, click a view in the list, and click its Edit Fields link. In the Customize View Fields list, click a field and then click the field’s Edit link. The row expands to include the View Field Editor.

Figure 1  The View Field Editor

View Field Editor

Field

Description

Field Name

(Required) Specifies the field definition to display in the view.

Field

If selected, enables the field.

To use the default view display properties for a field, you only need to select this check box to enable the field to display in the column, and then click Save Changes. No further changes are needed on this form Interactive page in the application where users can provide or modify data..

Rank

(Required) Indicates the field’s position in the relative ordering of the fields. Fields are displayed in order of increasing rank.

Advanced

If selected, lets you override the default view options and customize the view display properties. This form expands to include the advanced options.

Default Title

Default title text for this field’s column. The default value cannot be edited.

Column Title

Lets you override the default and specify title text to display for this field’s column. To use the default, leave this text field empty.

Default Type

Default type of the column used for this field. The default value cannot be edited.

Column Type

Lets you override the default and specify the type of column used to display this field. To use the default, leave this drop-down selection empty. Options include:

Text – The column displays a value as text.

Sortable text – The column displays a value as text, and may be sorted by clicking on the column heading.

Sortable text, case-insensitive – The same as “Sortable text”, but the column sorting will treat uppercase and lowercase letters the same.

Sortable numeric – The column displays a numeric value, and may be sorted by clicking on the column heading.

Default Width

Default width for the field’s column, in pixels. The default value cannot be edited.

Column Width

Lets you override the default and specify a width in pixels for the field’s column. To use the default, leave this text field empty.

CSS Class

CSS class name to apply to the field.

Default CSS Style

Default CSS style text to apply to the field. The default value cannot be edited.

CSS Style

Lets you override the default and specify the CSS style text to apply to this field. To use the default, leave this field empty.

Default Format

Default format for displaying the field. The default value cannot be edited.

Column Format

Lets you override the default and specify how the field’s value should be displayed. To use the default, leave this field empty. Options include:

Field Value — The value of the field is displayed as plain text.

Field Value (Unescaped) — The value of the field is displayed as HTML.

Boolean – Yes/No — The value of the field is converted to Boolean and displayed as “Yes” or “No”.

Boolean – Enabled/Disabled — The value of the field is converted to Boolean and displayed as “Enabled” or “Disabled”.

Boolean – On/Off — The value of the field is converted to Boolean and displayed as “On” or “Off”.

Date — The value of the field is assumed to be a UNIX timestamp value and is displayed as a date and time.

Duration (from seconds) — The value of the field is assumed to be a time period measured in seconds and is displayed as a duration (for example, “23 seconds”, “45 minutes”)

Duration (from minutes) — The value of the field is assumed to be a time period measured in minutes and is displayed as a duration (for example, “45 minutes”, “12 hours”)

Use form options — The value of the field is assumed to be one of the keys from the field’s option list. The value displayed is the corresponding value for the key.

Custom expression… — The Display Expression text area is displayed allowing a custom JavaScript expression to be entered. See View Display Expression Technical Reference for technical information about this display expression and a list of the functions that are available to format the value.

Default Search

Default value for whether the field will be included in filter searches. The default value cannot be edited.

Search

Many views include the ability to filter results. If selected, and the field is enabled, it will be included in the search.

Save Changes

Saves your changes to the View Field Editor form.

The Display Expression is a JavaScript expression that is used to generate the contents of the column. Generally, this is a simple expression that returns an appropriate piece of data for display, but more complex expressions can be used to perform arbitrary data processing and formatting tasks.