Class sap.ui.comp.smartfilterbar.SelectOptionModule: sap/ui/comp/smartfilterbar/SelectOption
A Select Option can be used to specify default filter values for a control configuration of the SmartFilterBar.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
high
. The high value for a select option. The high value is only required for a few operators, e.g. BT (between).
{string} | Value of property high |
low
. The low value for a select option.
{string} | Value of property low |
operator
. The operator for a select option. The default value is EQ "for equals". Possible values can be found here: sap.ui.comp.smartfilterbar.SelectOption.OPERATOR.
Default value is EQ
.
{string} | Value of property operator |
sign
. The sign for a Select Option. Possible values are I for include or E for exclude. Constants can be found here: sap.ui.comp.smartfilterbar.SelectOption.SIGN
Default value is I
.
{string} | Value of property sign |
high
. The high value for a select option. The high value is only required for a few operators, e.g. BT (between).
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sHigh | New value for property high |
{sap.ui.comp.smartfilterbar.SelectOption} | Reference to this in order to allow method chaining |
low
. The low value for a select option.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLow | New value for property low |
{sap.ui.comp.smartfilterbar.SelectOption} | Reference to this in order to allow method chaining |
operator
. The operator for a select option. The default value is EQ "for equals". Possible values can be found here: sap.ui.comp.smartfilterbar.SelectOption.OPERATOR.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is EQ
.
{string} | sOperator | New value for property operator |
{sap.ui.comp.smartfilterbar.SelectOption} | Reference to this in order to allow method chaining |
sign
. The sign for a Select Option. Possible values are I for include or E for exclude. Constants can be found here: sap.ui.comp.smartfilterbar.SelectOption.SIGN
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is I
.
{string} | sSign | New value for property sign |
{sap.ui.comp.smartfilterbar.SelectOption} | Reference to this in order to allow method chaining |