class sap.ui.core.util.ExportRow

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/core/util/ExportRow
Application Component: CA-UI5-TBL

Internally used in Export.


Constructor

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


Aggregations

Default Aggregation:

Name Cardinality Type Description
cells 0..n sap.ui.core.util.ExportCell

Cells for the Export.


Methods Overview

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 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.

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 sap.ui.core.util.ExportCell in the aggregation cells. and returns its index if found or -1 otherwise.

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.

addCell

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

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 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

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 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

insertCell

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 0-based index the cell should be inserted at; for a negative value of iIndex, the cell is inserted at position 0; for a value greater than the current size of the aggregation, the cell is inserted at the last position

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.

Param Type DefaultValue Description
vCell int string sap.ui.core.util.ExportCell

The cell to remove or its index or id