Class sap.ui.core.util.ExportColumnModule: sap/ui/core/util/ExportColumn


Can have a name and a cell template.


Since: 1.22.0.
Constructor Summary
new sap.ui.core.util.ExportColumn(sId?, mSettings?)Constructor for a new ExportCell.
Method Summary
sap.ui.core.util.ExportColumn.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.util.ExportColumn with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.core.util.ExportColumn.getMetadata()Returns a metadata object for class sap.ui.core.util.ExportColumn.
destroyTemplate()Destroys the template in the aggregation template.
getName()Gets current value of property name.
getTemplate()Gets content of aggregation template.
setName(sName)Sets a new value for property name.
setTemplate(oTemplate)Sets the aggregated template.
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.core.util.ExportColumn(sId?, mSettings?)
Constructor for a new ExportCell.

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

In addition, all settings applicable to the base type sap.ui.base.ManagedObject can be used as well.

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Method Detail
sap.ui.core.util.ExportColumn.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.core.util.ExportColumn 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.

Parameters:
{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
Returns:
{function} Created class / constructor function
sap.ui.core.util.ExportColumn.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.util.ExportColumn.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
destroyTemplate(): sap.ui.core.util.ExportColumn
Destroys the template in the aggregation template.
Returns:
{sap.ui.core.util.ExportColumn} Reference to this in order to allow method chaining
getName(): string
Gets current value of property name.

Column name.

Returns:
{string} Value of property name
Gets content of aggregation template.

Cell template for column.

Returns:
{sap.ui.core.util.ExportCell}
Sets a new value for property name.

Column name.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{string}sName New value for property name
Returns:
{sap.ui.core.util.ExportColumn} Reference to this in order to allow method chaining
setTemplate(oTemplate): sap.ui.core.util.ExportColumn
Sets the aggregated template.
Parameters:
{sap.ui.core.util.ExportCell}oTemplate The template to set
Returns:
{sap.ui.core.util.ExportColumn} Reference to this in order to allow method chaining