class sap.m.P13nColumnsItem

Control sample: sap.m.P13nColumnsItem
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/m/P13nColumnsItem
Application Component: CA-UI5-CTR

Type for columnsItems aggregation in P13nColumnsPanel control.


Constructor

Constructor for a new P13nColumnsItem.

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.m.P13nColumnsItem(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


Properties

Name Type Default Value Description
columnKey string

This property contains the unique table column key

Since: 1.26.0.

Visibility: public
index int

This property contains the index of a table column

Since: 1.26.0.

Visibility: public
total boolean

This property contains the total flag of a table column.

Since: 1.26.0.

Visibility: public
visible boolean

This property decides whether a P13nColumnsItem is visible

Since: 1.26.0.

Visibility: public
width string

This property contains the with of a table column.

Since: 1.26.0.

Visibility: public

Methods Overview

Method Description
sap.m.P13nColumnsItem.extend

Creates a new subclass of class sap.m.P13nColumnsItem 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.core.Item.extend.

getColumnKey

Gets current value of property columnKey.

This property contains the unique table column key

getIndex

Gets current value of property index.

This property contains the index of a table column

sap.m.P13nColumnsItem.getMetadata

Returns a metadata object for class sap.m.P13nColumnsItem.

getTotal

Gets current value of property total.

This property contains the total flag of a table column.

getVisible

Gets current value of property visible.

This property decides whether a P13nColumnsItem is visible

getWidth

Gets current value of property width.

This property contains the with of a table column.

setColumnKey

Sets a new value for property columnKey.

This property contains the unique table column key

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

setIndex

Sets a new value for property index.

This property contains the index of a table column

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

setTotal

Sets a new value for property total.

This property contains the total flag of a table column.

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

setVisible

Sets a new value for property visible.

This property decides whether a P13nColumnsItem is visible

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

setWidth

Sets a new value for property width.

This property contains the with of a table column.

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

sap.m.P13nColumnsItem.extend

Creates a new subclass of class sap.m.P13nColumnsItem 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.core.Item.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

getColumnKey

Gets current value of property columnKey.

This property contains the unique table column key

getIndex

Gets current value of property index.

This property contains the index of a table column

sap.m.P13nColumnsItem.getMetadata

Returns a metadata object for class sap.m.P13nColumnsItem.

getTotal

Gets current value of property total.

This property contains the total flag of a table column.

getVisible

Gets current value of property visible.

This property decides whether a P13nColumnsItem is visible

getWidth

Gets current value of property width.

This property contains the with of a table column.

setColumnKey

Sets a new value for property columnKey.

This property contains the unique table column key

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

Param Type DefaultValue Description
sColumnKey string

New value for property columnKey

setIndex

Sets a new value for property index.

This property contains the index of a table column

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

Param Type DefaultValue Description
iIndex int

New value for property index

setTotal

Sets a new value for property total.

This property contains the total flag of a table column.

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

Param Type DefaultValue Description
bTotal boolean

New value for property total

setVisible

Sets a new value for property visible.

This property decides whether a P13nColumnsItem is visible

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

Param Type DefaultValue Description
bVisible boolean

New value for property visible

setWidth

Sets a new value for property width.

This property contains the with of a table column.

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

Param Type DefaultValue Description
sWidth string

New value for property width