Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

A Formatting rule allows you to specify an expression which evaluated can apply the selected style to the parent object. It allows to apply styles conditionally, depending on current values displayed on the screen.

A Formatting Rule can be assigned to a Stream View Attribute or to a Layout Component. When assigned to a Layout Template, all Layout Components created from the Template will have a copy of the Formatting Rule  assigned.

For each Formatting Rule, the following settings are configured:

FieldDescription
Basic Settings
Rule Expression

Expression to be evaluated on order to determine should the Style be applied. This expression takes PhixfFlow Internal Variables.

See examples below.

StyleStyle to be applied when the Rule Expression evaluates to true.
OrderOrder of the Rule Expression.
EnabledFlag showing is the Rule Expression enabled.
Stop If TrueFlag showing if other rules shouldn't be applied if the current Rule applies.
Description
DescriptionDescription of this Formatting Rule.

Example


Field:Input/Value
Rule Expression_field.value == "OK"
StyleBackgroundColour-LightGreen
Enabledtrue

Creating the above configuration record for the View Attribute "Status Type" will produce the following result on the view.


                  


Form icons

The form provides the standard form icons.

See Also

Forms

  • No labels