Class sap.ui.core.util.ExportTypeCSVModule: sap/ui/core/util/ExportTypeCSV
CSV export type. Can be used for Export.
Please note that there could be an issue with the separator char depending on the user's system language in some programs such as Microsoft Excel. To prevent those issues use the data-import functionality which enables the possibility to explicitly set the separator char that should be used. This way the content will be displayed correctly.
Potential formulas (cell data starts with one of = + - @) will be escaped by prepending a single quote. As the export functionality is intended to be used with actual (user) data there is no reason to allow formulas.
The maximum cell length is limited to 32,760 characters. In case any string exceeds this limit, it will be cut off.
Since: 1.22.0.
sClassName
and enriches it with the information contained in oClassInfo
. 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
- separatorChar : string (default: ,)
In addition, all settings applicable to the base type sap.ui.core.util.ExportType can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.util.ExportType.extend.
{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 |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
separatorChar
. Separator char.
Value needs to be exactly one character or empty for default.
Default value is ,
.
{string} | Value of property separatorChar |
separatorChar
. Value needs to be exactly one character or empty for default. Default value is ','.
{string} | sSeparatorChar | new value for property separatorChar |
{sap.ui.core.util.ExportTypeCSV} | this to allow method chaining |