Can have a name and a cell template.
Constructor for a new ExportColumn.
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.ExportColumn(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 |
---|---|---|---|
template | 0..1 | sap.ui.core.util.ExportCell |
Cell template for column. |
Method | Description |
---|---|
destroyTemplate |
Destroys the template in the aggregation template. |
sap.ui.core.util.ExportColumn.extend |
Creates a new subclass of class sap.ui.core.util.ExportColumn with name
|
sap.ui.core.util.ExportColumn.getMetadata |
Returns a metadata object for class sap.ui.core.util.ExportColumn. |
getName |
Gets current value of property name. Column name. |
getTemplate |
Gets content of aggregation template. Cell template for column. |
setName |
Sets a new value for property name. Column name. When called with a value of |
setTemplate |
Sets the aggregated template. |
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.
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.ExportColumn.
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.
Param | Type | DefaultValue | Description |
---|---|---|---|
sName | string |
New value for property |
Sets the aggregated template.
Param | Type | DefaultValue | Description |
---|---|---|---|
oTemplate | sap.ui.core.util.ExportCell |
The template to set |