Utilities to create conditions to be used in FilterField, FilterBar or ConditionModel
Node | Description |
---|
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. |
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 |
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 |