Class sap.ui.table.AnalyticalColumnModule: sap/ui/table/AnalyticalColumn
This column adds additional properties to the table column which are needed for the analytical binding and table
Experimental API:Since version 1.21. The AnalyticalColumn will be productized soon. Some attributes will be added to Column.
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
- leadingProperty : string
- summed : boolean (default: false)
- inResult : boolean (default: false)
- showIfGrouped : boolean (default: false)
- groupHeaderFormatter : any
In addition, all settings applicable to the base type sap.ui.table.Column 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.table.Column.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 |
groupHeaderFormatter
. If the column is grouped, this formatter is used to format the value in the group header
{any} | Value of property groupHeaderFormatter |
inResult
. Specifies that the dimension referred to by the column shall be included in the granularity of the data result. It allows a finer distinction between a visible/grouped/(included)inResult column.
Default value is false
.
{boolean} | Value of property inResult |
leadingProperty
. Defines the primary model property which is used inside the Column. In case of the analytical extension this means the property which is grouped by for dimensions or the property which is summed for measures.
{string} | Value of property leadingProperty |
showIfGrouped
. Specifies whether the column is displayed within the table even if it is grouped or not. A grouped column has the same value for every rows within the group.
Default value is false
.
{boolean} | Value of property showIfGrouped |
summed
. If defined a sum for this column is calculated
Default value is false
.
{boolean} | Value of property summed |
groupHeaderFormatter
. If the column is grouped, this formatter is used to format the value in the group header
When called with a value of null
or undefined
, the default value of the property will be restored.
{any} | oGroupHeaderFormatter | New value for property groupHeaderFormatter |
{sap.ui.table.AnalyticalColumn} | Reference to this in order to allow method chaining |
inResult
. Specifies that the dimension referred to by the column shall be included in the granularity of the data result. It allows a finer distinction between a visible/grouped/(included)inResult column.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bInResult | New value for property inResult |
{sap.ui.table.AnalyticalColumn} | Reference to this in order to allow method chaining |
leadingProperty
. Defines the primary model property which is used inside the Column. In case of the analytical extension this means the property which is grouped by for dimensions or the property which is summed for measures.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sLeadingProperty | New value for property leadingProperty |
{sap.ui.table.AnalyticalColumn} | Reference to this in order to allow method chaining |
showIfGrouped
. Specifies whether the column is displayed within the table even if it is grouped or not. A grouped column has the same value for every rows within the group.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bShowIfGrouped | New value for property showIfGrouped |
{sap.ui.table.AnalyticalColumn} | Reference to this in order to allow method chaining |
summed
. If defined a sum for this column is calculated
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bSummed | New value for property summed |
{sap.ui.table.AnalyticalColumn} | Reference to this in order to allow method chaining |