class sap.ui.table.rowmodes.FixedRowMode

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/table/rowmodes/FixedRowMode
Application Component: CA-UI5-TBL

TODO: Class description


Constructor

Constructor for a new fixed row mode.

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.ui.table.rowmodes.FixedRowMode(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
fixedBottomRowCount int 0 Visibility: public
fixedTopRowCount int 0 Visibility: public
hideEmptyRows boolean false Visibility: public
rowContentHeight int 0 Visibility: public
rowCount int 10 Visibility: public

Methods Overview

Method Description
sap.ui.table.rowmodes.FixedRowMode.extend

Creates a new subclass of class sap.ui.table.rowmodes.FixedRowMode 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.table.rowmodes.RowMode.extend.

getFixedBottomRowCount

Gets current value of property fixedBottomRowCount.

Default value is 0.

getFixedTopRowCount

Gets current value of property fixedTopRowCount.

Default value is 0.

getHideEmptyRows

Gets current value of property hideEmptyRows.

Default value is false.

sap.ui.table.rowmodes.FixedRowMode.getMetadata

Returns a metadata object for class sap.ui.table.rowmodes.FixedRowMode.

getRowContentHeight

Gets current value of property rowContentHeight.

Default value is 0.

getRowCount

Gets current value of property rowCount.

Default value is 10.

setFixedBottomRowCount

Sets a new value for property fixedBottomRowCount.

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

Default value is 0.

setFixedTopRowCount

Sets a new value for property fixedTopRowCount.

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

Default value is 0.

setHideEmptyRows

Sets a new value for property hideEmptyRows.

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

Default value is false.

setRowContentHeight

Sets a new value for property rowContentHeight.

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

Default value is 0.

setRowCount

Sets a new value for property rowCount.

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

Default value is 10.

sap.ui.table.rowmodes.FixedRowMode.extend

Creates a new subclass of class sap.ui.table.rowmodes.FixedRowMode 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.table.rowmodes.RowMode.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

getFixedBottomRowCount

Gets current value of property fixedBottomRowCount.

Default value is 0.

getFixedTopRowCount

Gets current value of property fixedTopRowCount.

Default value is 0.

getHideEmptyRows

Gets current value of property hideEmptyRows.

Default value is false.

sap.ui.table.rowmodes.FixedRowMode.getMetadata

Returns a metadata object for class sap.ui.table.rowmodes.FixedRowMode.

getRowContentHeight

Gets current value of property rowContentHeight.

Default value is 0.

getRowCount

Gets current value of property rowCount.

Default value is 10.

setFixedBottomRowCount

Sets a new value for property fixedBottomRowCount.

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

Default value is 0.

Param Type DefaultValue Description
iFixedBottomRowCount int 0

New value for property fixedBottomRowCount

setFixedTopRowCount

Sets a new value for property fixedTopRowCount.

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

Default value is 0.

Param Type DefaultValue Description
iFixedTopRowCount int 0

New value for property fixedTopRowCount

setHideEmptyRows

Sets a new value for property hideEmptyRows.

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

Default value is false.

Param Type DefaultValue Description
bHideEmptyRows boolean false

New value for property hideEmptyRows

setRowContentHeight

Sets a new value for property rowContentHeight.

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

Default value is 0.

Param Type DefaultValue Description
iRowContentHeight int 0

New value for property rowContentHeight

setRowCount

Sets a new value for property rowCount.

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

Default value is 10.

Param Type DefaultValue Description
iRowCount int 10

New value for property rowCount