Class sap.ui.comp.smartfilterbar.GroupConfigurationModule: sap/ui/comp/smartfilterbar/GroupConfiguration
A GroupConfiguration can be used to add additional configurations for groups in the SmartFilterBar. A group in the SmartFilterBar is a group of filter fields in the advanced search.
sClassName
and enriches it with the information contained in oClassInfo
.fnFunction
to the change
event of this sap.ui.comp.smartfilterbar.GroupConfiguration
.fnFunction
from the change
event of this sap.ui.comp.smartfilterbar.GroupConfiguration
. 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:
- Properties
- Events
- change : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
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 |
{sap.ui.base.Event} | oControlEvent | |
{sap.ui.base.EventProvider} | oControlEvent.getSource | |
{object} | oControlEvent.getParameters | |
{string} | oControlEvent.getParameters.propertyName | Name of the changed property |
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 |
fnFunction
to the change
event of this sap.ui.comp.smartfilterbar.GroupConfiguration
. When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfilterbar.GroupConfiguration
itself.
Fired when the value of a property, for example label, has changed
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfilterbar.GroupConfiguration itself |
{sap.ui.comp.smartfilterbar.GroupConfiguration} | Reference to this in order to allow method chaining |
fnFunction
from the change
event of this sap.ui.comp.smartfilterbar.GroupConfiguration
. The passed function and listener object must match the ones used for event registration.
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
{sap.ui.comp.smartfilterbar.GroupConfiguration} | Reference to this in order to allow method chaining |
change
to attached listeners. Expects the following event parameters:
propertyName
of typestring
Name of the changed property
{Map} | mArguments? | The arguments to pass along with the event |
{sap.ui.comp.smartfilterbar.GroupConfiguration} | Reference to this in order to allow method chaining |
index
. Zero based integer index. The index can be used to specify the order of groups. If no index is specified, the order like in the OData metadata will be used.
Default value is undefined
.
{any} | Value of property index |
key
. The key property shall correspond to the name EntityTypeName from the OData service $metadata document.
{string} | Value of property key |
label
. Using this property it is possible to overwrite the label of a group in the advanced area of the SmartFilterBar.
Default value is undefined
.
{any} | Value of property label |
index
. Zero based integer index. The index can be used to specify the order of groups. If no index is specified, the order like in the OData metadata will be used.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is undefined
.
{any} | oIndex | New value for property index |
{sap.ui.comp.smartfilterbar.GroupConfiguration} | Reference to this in order to allow method chaining |
key
. The key property shall correspond to the name EntityTypeName from the OData service $metadata document.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sKey | New value for property key |
{sap.ui.comp.smartfilterbar.GroupConfiguration} | Reference to this in order to allow method chaining |
label
. Using this property it is possible to overwrite the label of a group in the advanced area of the SmartFilterBar.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is undefined
.
{any} | oLabel | New value for property label |
{sap.ui.comp.smartfilterbar.GroupConfiguration} | Reference to this in order to allow method chaining |