sap.m.ColumnListItem
can be used with the cells
aggregation to create rows for the sap.m.Table
control. The columns
aggregation of the sap.m.Table
should match with the cells aggregation.
Note: This control should only be used within the sap.m.Table
control. The inherited counter
property of sap.m.ListItemBase
is not supported.
Constructor for a new ColumnListItem.
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.m.ColumnListItem(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 |
---|---|---|---|
vAlign | sap.ui.core.VerticalAlign | Inherit | Sets the vertical alignment of all the cells within the table row (including selection and navigation). Note: |
Name | Type | Default Value | Description |
---|---|---|---|
counter | int | Defines the counter value of the list items. Visibility: public |
|
highlight | string | None | Defines the highlight state of the list items. Valid values for the Accessibility support is provided through the associated highlightText property. If the |
highlightText | string | empty string | Defines the semantics of the highlight property for accessibility purposes. |
navigated | boolean | false | The navigated state of the list item. If set to |
selected | boolean | false | Defines the selected state of the list items. Note: Binding the |
type | sap.m.ListType | Inactive | Defines the visual indication and behavior of the list items, e.g. |
unread | boolean | false | Activates the unread indicator for the list item, if set to |
visible | boolean | true | Whether the control should be visible on the screen. If set to false, a placeholder is rendered instead of the real control. Visibility: public |
Default Aggregation: cells
Name | Cardinality | Type | Description |
---|---|---|---|
cells (default) | 0..n | sap.ui.core.Control |
Every |
Method | Description |
---|---|
$Popin |
Returns pop-in DOMRef as a jQuery Object |
addCell |
Adds some cell to the aggregation cells. |
bindCells |
Binds aggregation cells to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of |
destroyCells |
Destroys all the cells in the aggregation cells. |
sap.m.ColumnListItem.extend |
Creates a new subclass of class sap.m.ColumnListItem with name
|
getCells |
Gets content of aggregation cells. Every |
sap.m.ColumnListItem.getMetadata |
Returns a metadata object for class sap.m.ColumnListItem. |
getPopin |
Returns the pop-in element. |
getTabbables |
Returns the tabbable DOM elements as a jQuery collection When popin is available this separated dom should also be included |
getVAlign |
Gets current value of property vAlign. Sets the vertical alignment of all the cells within the table row (including selection and navigation). Note: Default value is |
hasPopin |
Determines whether control has pop-in or not. |
indexOfCell |
Checks for the provided |
insertCell |
Inserts a cell into the aggregation cells. |
removeAllCells |
Removes all the controls from the aggregation cells. Additionally, it unregisters them from the hosting UIArea. |
removeCell |
Removes a cell from the aggregation cells. |
removePopin |
Pemove pop-in from DOM |
setVAlign |
Sets a new value for property vAlign. Sets the vertical alignment of all the cells within the table row (including selection and navigation). Note: When called with a value of Default value is |
unbindCells |
Unbinds aggregation cells from model data. |
Adds some cell to the aggregation cells.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCell | sap.ui.core.Control |
The cell to add; if empty, nothing is inserted |
Binds aggregation cells to model data.
See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oBindingInfo | sap.ui.base.ManagedObject.AggregationBindingInfo |
The binding information |
Creates a new subclass of class sap.m.ColumnListItem with name 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.
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 content of aggregation cells.
Every control
inside the cells
aggregation defines one cell of the row. Note: The order of the cells
aggregation must match the order of the columns
aggregation of sap.m.Table
.
Returns the tabbable DOM elements as a jQuery collection When popin is available this separated dom should also be included
Gets current value of property vAlign.
Sets the vertical alignment of all the cells within the table row (including selection and navigation). Note: vAlign
property of sap.m.Column
overrides the property for cell vertical alignment if both are set.
Default value is Inherit
.
Checks for the provided sap.ui.core.Control
in the aggregation cells. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCell | sap.ui.core.Control |
The cell whose index is looked for |
Inserts a cell into the aggregation cells.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCell | sap.ui.core.Control |
The cell to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Removes all the controls from the aggregation cells.
Additionally, it unregisters them from the hosting UIArea.
Removes a cell from the aggregation cells.
Param | Type | DefaultValue | Description |
---|---|---|---|
vCell | int string sap.ui.core.Control |
The cell to remove or its index or id |
Sets a new value for property vAlign.
Sets the vertical alignment of all the cells within the table row (including selection and navigation). Note: vAlign
property of sap.m.Column
overrides the property for cell vertical alignment if both are set.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Inherit
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sVAlign | sap.ui.core.VerticalAlign | Inherit |
New value for property |