Feedback

Fields Grouping

This feature allows to group two or more fields into a virtual field of the special type Field Grouping.

See how you can create a Field Grouping.

Fields Grouping example

Fields Grouping example

General Settings

Field grouping general configuration screen

See below the option’s general configuration for fields grouping.

Data Type

Informs the data type of the field in the application.

Label

label attribute

Defines the title displayed in the application column.

The text definition has no character restriction and can be done with a fixed text or using a lang, to create systems with multiple languages.

See more details about langs and about our Data dictionary.

Grouping fields

Grouping fields Attribute

In this attribute we define the fields that will be grouped, moving them to the right, and the order in which these fields will be displayed on the grouping fields.

Display options

Display options Attribute

Defines how grouped field values will be display in the field.

When selecting the option Label and Value (Default value) defines that both the label and the field value will be displayed, see the example below.

Example displaying label and value fields

When selecting the Value option, only the field value will be displayed, see the example below.

Example of displaying only field values

Label positioning

Label positioning attribute of grouped fields

  • Above - Default value, positions the label of the grouped fields above the values.
  • Beside - Positions the label of the grouped fields beside the values.

This attribute is only available when selecting the field value option in the Display Options attribute.

Example of above label

Example label above

Example of beside label

Example label on the Beside

Spacing beteween fields

Spacing beteween fields

Sets the spacing between grouped fields. This attribute is applied in pixels, for this definition we must inform only the numerical value.

Examples of fields with and without spacing

Examples of fields with and without spacing

Title for sorting grouped fields

This attribute defines the title of the grouping sort box.

By default, Scriptcase defines the lang {lang_field_grouping_choose_column_sorting} as the title. The lang text can be changed in the tool Application Language.

Example of sorting grouped fields

Example of sorting grouped fields

SQL type

Defines the SQL type of the field.

Display Settings

Field grouping general configuration screen

See below the options to display settings of the field grouping.

Title horizontal Alignment

Horizontal alignment attribute

In this attribute you can set the horizontal alignment of the field grouping title as: Left, Right or Centered

When leaving this value unchanged, the alignment assumes the configuration of the application’s theme.

Examples of horizontal alignments: Left - Right - Centered

Example of the label in the three possible alignments

Title vertical alignment

Horizontal alignment attribute

In this attribute you can set the vertical alignment of the field grouping title as: Top, Middle or Bottom

Examples of vertical alignments: Top - Middle - Bottom

Example of the label in the three possible vertical alignments

Backgroud color

Defines the background color of the entire column of the grouping of fields.

The configuration of grouped fields must be carried out individually in the field.

Title color

Set a color to field grouping title overriding theme settings.

Example of label text color

Title color Example

Field title backgroud color

Set a background color to field grouping title overriding theme settings.

Example of the background color of the label

Title color Example

Bold

Defines whether or not the button group title will be in bold.