Represents a filter belonging to a group other than basic.
Constructor for a new FilterBar/FilterGroupItem.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.
new sap.ui.comp.filterbar.FilterGroupItem(sId?, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId? | string | ID for the new control, generated automatically if no ID is given |
|
mSettings? | object | Initial settings for the new control |
Name | Type | Default Value | Description |
---|---|---|---|
groupName | string | Name of the group. Visibility: public |
|
groupTitle | string | Title of the group. Visibility: public |
|
visibleInAdvancedArea | boolean | false | If set to true, this filter is visible on the filter bar by default. Mapped against the |
Name | Type | Default Value | Description |
---|---|---|---|
controlTooltip | string | Tooltip for the filter'c control. |
|
entitySetName | string | EntitySet name to which the filter belongs |
|
entityTypeName | string | EntityType name to which the filter belongs |
|
label | string | Label of the filter. Visibility: public |
|
labelTooltip | string | Tooltip for the filter. Visibility: public |
|
mandatory | boolean | false | Mandatory flag. Visibility: public |
name | string | Name of the filter. This is an identifier for the filter and has to be unique. Visibility: public |
|
partOfCurrentVariant | boolean | true | Determines if a filter is part of the currently selected variant. |
visible | boolean | true | Visibility state of the filter. Visibility: public |
visibleInFilterBar | boolean | true | Controls the visibility of a filter item in the filter bar. |
Name | Cardinality | Type | Description |
---|---|---|---|
control | 0..1 | sap.ui.core.Control |
The control of the filter. |
Method | Description |
---|---|
destroy |
Destroys this element. |
sap.ui.comp.filterbar.FilterGroupItem.extend |
Creates a new subclass of class sap.ui.comp.filterbar.FilterGroupItem with name
|
getGroupName |
Gets current value of property groupName. Name of the group. |
getGroupTitle |
Gets current value of property groupTitle. Title of the group. |
sap.ui.comp.filterbar.FilterGroupItem.getMetadata |
Returns a metadata object for class sap.ui.comp.filterbar.FilterGroupItem. |
setGroupName |
Sets a new value for property groupName. Name of the group. When called with a value of |
setGroupTitle |
Setter for group title. |
Creates a new subclass of class sap.ui.comp.filterbar.FilterGroupItem with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.comp.filterbar.FilterItem.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |
Returns a metadata object for class sap.ui.comp.filterbar.FilterGroupItem.
Sets a new value for property groupName.
Name of the group.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGroupName | string |
New value for property |