Internally used in Export.
Constructor for a new ExportRow.
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.core.util.ExportRow(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 |
Default Aggregation:
Name | Cardinality | Type | Description |
---|---|---|---|
cells | 0..n | sap.ui.core.util.ExportCell |
Cells for the Export. |
Method | Description |
---|---|
addCell |
Adds some cell to the aggregation cells. |
destroyCells |
Destroys all the cells in the aggregation cells. |
sap.ui.core.util.ExportRow.extend |
Creates a new subclass of class sap.ui.core.util.ExportRow with name
|
getCells |
Gets content of aggregation cells. Cells for the Export. |
sap.ui.core.util.ExportRow.getMetadata |
Returns a metadata object for class sap.ui.core.util.ExportRow. |
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. |
Adds some cell to the aggregation cells.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCell | sap.ui.core.util.ExportCell |
The cell to add; if empty, nothing is inserted |
Creates a new subclass of class sap.ui.core.util.ExportRow 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.base.ManagedObject.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.core.util.ExportRow.
Checks for the provided sap.ui.core.util.ExportCell
in the aggregation cells. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCell | sap.ui.core.util.ExportCell |
The cell whose index is looked for |
Inserts a cell into the aggregation cells.
Param | Type | DefaultValue | Description |
---|---|---|---|
oCell | sap.ui.core.util.ExportCell |
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.util.ExportCell |
The cell to remove or its index or id |