class sap.ui.layout.cssgrid.GridItemLayoutData

Visiblity: public
UX Guidelines:
Implements: sap.ui.layout.cssgrid.IGridItemLayoutData
Available since: N/A
Module: sap/ui/layout/cssgrid/GridItemLayoutData
Application Component: CA-UI5-CTR

Holds layout data for a grid item.


Constructor

Constructor for a new sap.ui.layout.cssgrid.GridItemLayoutData.

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.layout.cssgrid.GridItemLayoutData(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new element, generated automatically if no ID is given

mSettings? object

Initial settings for the new element.


Properties

Name Type Default Value Description
gridColumn sap.ui.layout.cssgrid.CSSGridLine empty string

Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column

Visibility: public
gridColumnEnd sap.ui.layout.cssgrid.CSSGridLine empty string

Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end

Visibility: public
gridColumnStart sap.ui.layout.cssgrid.CSSGridLine empty string

Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start

Visibility: public
gridRow sap.ui.layout.cssgrid.CSSGridLine empty string

Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row

Visibility: public
gridRowEnd sap.ui.layout.cssgrid.CSSGridLine empty string

Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end

Visibility: public
gridRowStart sap.ui.layout.cssgrid.CSSGridLine empty string

Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start

Visibility: public

Methods Overview

Method Description
sap.ui.layout.cssgrid.GridItemLayoutData.extend

Creates a new subclass of class sap.ui.layout.cssgrid.GridItemLayoutData 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.LayoutData.extend.

getGridColumn

Gets current value of property gridColumn.

Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column

Default value is empty string.

getGridColumnEnd

Gets current value of property gridColumnEnd.

Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end

Default value is empty string.

getGridColumnStart

Gets current value of property gridColumnStart.

Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start

Default value is empty string.

getGridRow

Gets current value of property gridRow.

Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row

Default value is empty string.

getGridRowEnd

Gets current value of property gridRowEnd.

Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end

Default value is empty string.

getGridRowStart

Gets current value of property gridRowStart.

Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start

Default value is empty string.

sap.ui.layout.cssgrid.GridItemLayoutData.getMetadata

Returns a metadata object for class sap.ui.layout.cssgrid.GridItemLayoutData.

setGridColumn

Sets a new value for property gridColumn.

Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column

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

Default value is empty string.

setGridColumnEnd

Sets a new value for property gridColumnEnd.

Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end

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

Default value is empty string.

setGridColumnStart

Sets a new value for property gridColumnStart.

Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start

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

Default value is empty string.

setGridRow

Sets a new value for property gridRow.

Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row

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

Default value is empty string.

setGridRowEnd

Sets a new value for property gridRowEnd.

Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end

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

Default value is empty string.

setGridRowStart

Sets a new value for property gridRowStart.

Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start

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

Default value is empty string.

sap.ui.layout.cssgrid.GridItemLayoutData.extend

Creates a new subclass of class sap.ui.layout.cssgrid.GridItemLayoutData 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.LayoutData.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

getGridColumn

Gets current value of property gridColumn.

Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column

Default value is empty string.

getGridColumnEnd

Gets current value of property gridColumnEnd.

Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end

Default value is empty string.

getGridColumnStart

Gets current value of property gridColumnStart.

Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start

Default value is empty string.

getGridRow

Gets current value of property gridRow.

Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row

Default value is empty string.

getGridRowEnd

Gets current value of property gridRowEnd.

Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end

Default value is empty string.

getGridRowStart

Gets current value of property gridRowStart.

Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start

Default value is empty string.

sap.ui.layout.cssgrid.GridItemLayoutData.getMetadata

Returns a metadata object for class sap.ui.layout.cssgrid.GridItemLayoutData.

setGridColumn

Sets a new value for property gridColumn.

Sets the value for the CSS display:grid item property grid-column MDN web docs: grid-column

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

Default value is empty string.

Param Type DefaultValue Description
sGridColumn sap.ui.layout.cssgrid.CSSGridLine ""

New value for property gridColumn

setGridColumnEnd

Sets a new value for property gridColumnEnd.

Sets the value for the CSS display:grid item property grid-column-end MDN web docs: grid-column-end

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

Default value is empty string.

Param Type DefaultValue Description
sGridColumnEnd sap.ui.layout.cssgrid.CSSGridLine ""

New value for property gridColumnEnd

setGridColumnStart

Sets a new value for property gridColumnStart.

Sets the value for the CSS display:grid item property grid-column-start MDN web docs: grid-column-start

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

Default value is empty string.

Param Type DefaultValue Description
sGridColumnStart sap.ui.layout.cssgrid.CSSGridLine ""

New value for property gridColumnStart

setGridRow

Sets a new value for property gridRow.

Sets the value for the CSS display:grid item property grid-row MDN web docs: grid-row

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

Default value is empty string.

Param Type DefaultValue Description
sGridRow sap.ui.layout.cssgrid.CSSGridLine ""

New value for property gridRow

setGridRowEnd

Sets a new value for property gridRowEnd.

Sets the value for the CSS display:grid item property grid-row-end MDN web docs: grid-row-end

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

Default value is empty string.

Param Type DefaultValue Description
sGridRowEnd sap.ui.layout.cssgrid.CSSGridLine ""

New value for property gridRowEnd

setGridRowStart

Sets a new value for property gridRowStart.

Sets the value for the CSS display:grid item property grid-row-start MDN web docs: grid-row-start

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

Default value is empty string.

Param Type DefaultValue Description
sGridRowStart sap.ui.layout.cssgrid.CSSGridLine ""

New value for property gridRowStart