Class sap.m.GroupHeaderListItemModule: sap/m/GroupHeaderListItem
sap.m.GroupHeaderListItem
is used to display the title of a group and act as separator between groups in sap.m.List
and sap.m.Table
. Note: The inherited properties unread
, selected
, counter
and press
event from sap.m.ListItemBase
are not supported.
Since: 1.12.
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:
- Properties
- title : string
- count : string
- upperCase : boolean (default: true)
- titleTextDirection : sap.ui.core.TextDirection (default: Inherit)
In addition, all settings applicable to the base type sap.m.ListItemBase 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.m.ListItemBase.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 |
count
. Defines the count of items in the group, but it could also be an amount which represents the sum of all amounts in the group. Note: Will not be displayed if not set.
{string} | Value of property count |
title
. Defines the title of the group header.
{string} | Value of property title |
titleTextDirection
. Defines the title text directionality with enumerated options. By default, the control inherits text direction from the DOM.
Default value is Inherit
.
- Since:
- 1.28.0
{sap.ui.core.TextDirection} | Value of property titleTextDirection |
upperCase
. By default, the title is capitalized automatically. To disable this automation, set this property to false.
Default value is true
.
- Since:
- 1.13.2
{boolean} | Value of property upperCase |
count
. Defines the count of items in the group, but it could also be an amount which represents the sum of all amounts in the group. Note: Will not be displayed if not set.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sCount | New value for property count |
{sap.m.GroupHeaderListItem} | Reference to this in order to allow method chaining |
title
. Defines the title of the group header.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sTitle | New value for property title |
{sap.m.GroupHeaderListItem} | Reference to this in order to allow method chaining |
titleTextDirection
. Defines the title text directionality with enumerated options. By default, the control inherits text direction from the DOM.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Inherit
.
{sap.ui.core.TextDirection} | sTitleTextDirection | New value for property titleTextDirection |
- Since:
- 1.28.0
{sap.m.GroupHeaderListItem} | Reference to this in order to allow method chaining |
upperCase
. By default, the title is capitalized automatically. To disable this automation, set this property to false.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bUpperCase | New value for property upperCase |
- Since:
- 1.13.2
{sap.m.GroupHeaderListItem} | Reference to this in order to allow method chaining |