class sap.m.P13nSortItem

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

Type for sortItems aggregation in P13nSortPanel control.


Constructor

Constructor for a new P13nSortItem.

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.P13nSortItem(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

key of the column

Visibility: public
operation string

sap.m.P13nConditionOperation

Visibility: public

Methods Overview

Method Description
sap.m.P13nSortItem.extend

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

key of the column

sap.m.P13nSortItem.getMetadata

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

getOperation

Gets current value of property operation.

sap.m.P13nConditionOperation

setColumnKey

Sets a new value for property columnKey.

key of the column

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

setOperation

Sets a new value for property operation.

sap.m.P13nConditionOperation

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

sap.m.P13nSortItem.extend

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

key of the column

sap.m.P13nSortItem.getMetadata

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

getOperation

Gets current value of property operation.

sap.m.P13nConditionOperation

setColumnKey

Sets a new value for property columnKey.

key of the column

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

setOperation

Sets a new value for property operation.

sap.m.P13nConditionOperation

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

Param Type DefaultValue Description
sOperation string

New value for property operation