class sap.ui.table.rowmodes.AutoRowMode

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

TODO: Class description


Constructor

Constructor for a new auto 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.AutoRowMode(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
maxRowCount int -1 Visibility: public
minRowCount int 5 Visibility: public
rowContentHeight int 0 Visibility: public

Methods Overview

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

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

getMaxRowCount

Gets current value of property maxRowCount.

Default value is -1.

sap.ui.table.rowmodes.AutoRowMode.getMetadata

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

getMinRowCount

Gets current value of property minRowCount.

Default value is 5.

getRowContentHeight

Gets current value of property rowContentHeight.

Default value is 0.

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.

setMaxRowCount

Sets a new value for property maxRowCount.

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

Default value is -1.

setMinRowCount

Sets a new value for property minRowCount.

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

Default value is 5.

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.

sap.ui.table.rowmodes.AutoRowMode.extend

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

getMaxRowCount

Gets current value of property maxRowCount.

Default value is -1.

sap.ui.table.rowmodes.AutoRowMode.getMetadata

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

getMinRowCount

Gets current value of property minRowCount.

Default value is 5.

getRowContentHeight

Gets current value of property rowContentHeight.

Default value is 0.

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

setMaxRowCount

Sets a new value for property maxRowCount.

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

Default value is -1.

Param Type DefaultValue Description
iMaxRowCount int -1

New value for property maxRowCount

setMinRowCount

Sets a new value for property minRowCount.

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

Default value is 5.

Param Type DefaultValue Description
iMinRowCount int 5

New value for property minRowCount

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