Type for columnsItems
aggregation in P13nColumnsPanel
control.
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 |
Name | Type | Default Value | Description |
---|---|---|---|
columnKey | string | This property contains the unique table column key |
|
index | int | This property contains the index of a table column |
|
total | boolean | This property contains the total flag of a table column. |
|
visible | boolean | This property decides whether a |
|
width | string | This property contains the with of a table column. |
Method | Description |
---|---|
sap.m.P13nColumnsItem.extend |
Creates a new subclass of class sap.m.P13nColumnsItem with name
|
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 |
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 |
setIndex |
Sets a new value for property index. This property contains the index of a table column When called with a value of |
setTotal |
Sets a new value for property total. This property contains the total flag of a table column. When called with a value of |
setVisible |
Sets a new value for property visible. This property decides whether a When called with a value of |
setWidth |
Sets a new value for property width. This property contains the with of a table column. When called with a value of |
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 |
Gets current value of property columnKey.
This property contains the unique table column key
Gets current value of property total.
This property contains the total flag of a table column.
Gets current value of property visible.
This property decides whether a P13nColumnsItem
is visible
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 |
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 |
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 |
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 |
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 |