namespace sap.ui.mdc.condition.Condition

Visiblity: restricted
Available since: N/A
Module: sap/ui/mdc/condition/Condition
Application Component: CA-UI5-MDC

Utilities to create conditions to be used in FilterField, FilterBar or ConditionModel


Nodes Overview

Node Description

Methods Overview

Method Description
sap.ui.mdc.condition.Condition.createCondition

Creates a condition object.

sap.ui.mdc.condition.Condition.createItemCondition

Creates a condition instance for a condition representing a item chosen from the field help.

This is a "equal to" (EQ) condition with key and description. It is used for entries selected in the field help and for everything entered in the Field control.

sap.ui.mdc.condition.Condition.createCondition

Creates a condition object.

Param Type DefaultValue Description
sOperator string

Operator for the condition

aValues any[]

Array of values for the condition

oInParameters object

In parameters of the condition

oOutParameters object

Out parameters of the condition

sValidated sap.ui.mdc.enum.ConditionValidated

If set to ConditionValidated.Validated, the condition is validated (by the field help) and not shown in the DefineConditionPanel control

sap.ui.mdc.condition.Condition.createItemCondition

Creates a condition instance for a condition representing a item chosen from the field help.

This is a "equal to" (EQ) condition with key and description. It is used for entries selected in the field help and for everything entered in the Field control.

Param Type DefaultValue Description
sKey string

Operator for the condition

sDescription string

Description of the operator

oInParameters object

In parameters of the condition

oOutParameters object

Out parameters of the condition