An item that is used in the ListFieldHelp element if grouping is needed.
Constructor for a new ListFieldHelpItem.
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.mdc.field.ListFieldHelpItem(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 |
Method | Description |
---|---|
sap.ui.mdc.field.ListFieldHelpItem.extend |
Creates a new subclass of class sap.ui.mdc.field.ListFieldHelpItem with name
|
getGroupKey |
Gets current value of property groupKey. Key of the group for what the items are grouped |
getGroupText |
Gets current value of property groupText. Text of the group for what the items are grouped |
sap.ui.mdc.field.ListFieldHelpItem.getMetadata |
Returns a metadata object for class sap.ui.mdc.field.ListFieldHelpItem. |
setGroupKey |
Sets a new value for property groupKey. Key of the group for what the items are grouped When called with a value of |
setGroupText |
Sets a new value for property groupText. Text of the group for what the items are grouped When called with a value of |
Creates a new subclass of class sap.ui.mdc.field.ListFieldHelpItem 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.core.ListItem.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 |
Gets current value of property groupText.
Text of the group for what the items are grouped
Returns a metadata object for class sap.ui.mdc.field.ListFieldHelpItem.
Sets a new value for property groupKey.
Key of the group for what the items are grouped
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
oGroupKey | any |
New value for property |
Sets a new value for property groupText.
Text of the group for what the items are grouped
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGroupText | string |
New value for property |