Holds a set of CSS display:grid properties
Constructor for a new GridSettings.
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.GridSettings(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 |
---|---|---|---|
gridAutoColumns | sap.ui.layout.cssgrid.CSSGridTrack | empty string | Sets the value for the CSS display:grid property MDN web docs: grid-auto-columns
|
gridAutoFlow | sap.ui.layout.cssgrid.CSSGridAutoFlow | Row | Sets the value for the CSS display:grid property MDN web docs: grid-auto-flow
|
gridAutoRows | sap.ui.layout.cssgrid.CSSGridTrack | empty string | Sets the value for the CSS display:grid property MDN web docs: grid-auto-rows
|
gridColumnGap | sap.ui.core.CSSSize | empty string | Sets the value for the CSS display:grid property MDN web docs: grid-column-gap
|
gridGap | sap.ui.layout.cssgrid.CSSGridGapShortHand | empty string | Sets the value for the CSS display:grid property MDN web docs: grid-gap
|
gridRowGap | sap.ui.core.CSSSize | empty string | Sets the value for the CSS display:grid property MDN web docs: grid-row-gap
|
gridTemplateColumns | sap.ui.layout.cssgrid.CSSGridTrack | empty string | Sets the value for the CSS display:grid property MDN web docs: grid-template-columns
|
gridTemplateRows | sap.ui.layout.cssgrid.CSSGridTrack | empty string | Sets the value for the CSS display:grid property MDN web docs: grid-template-rows
|
Method | Description |
---|---|
sap.ui.layout.cssgrid.GridSettings.extend |
Creates a new subclass of class sap.ui.layout.cssgrid.GridSettings with name
|
getGridAutoColumns |
Gets current value of property gridAutoColumns. Sets the value for the CSS display:grid property MDN web docs: grid-auto-columns
Default value is |
getGridAutoFlow |
Gets current value of property gridAutoFlow. Sets the value for the CSS display:grid property MDN web docs: grid-auto-flow
Default value is |
getGridAutoRows |
Gets current value of property gridAutoRows. Sets the value for the CSS display:grid property MDN web docs: grid-auto-rows
Default value is |
getGridColumnGap |
Gets current value of property gridColumnGap. Sets the value for the CSS display:grid property MDN web docs: grid-column-gap
Default value is |
getGridGap |
Gets current value of property gridGap. Sets the value for the CSS display:grid property MDN web docs: grid-gap
Default value is |
getGridRowGap |
Gets current value of property gridRowGap. Sets the value for the CSS display:grid property MDN web docs: grid-row-gap
Default value is |
getGridTemplateColumns |
Gets current value of property gridTemplateColumns. Sets the value for the CSS display:grid property MDN web docs: grid-template-columns
Default value is |
getGridTemplateRows |
Gets current value of property gridTemplateRows. Sets the value for the CSS display:grid property MDN web docs: grid-template-rows
Default value is |
sap.ui.layout.cssgrid.GridSettings.getMetadata |
Returns a metadata object for class sap.ui.layout.cssgrid.GridSettings. |
setGridAutoColumns |
Sets a new value for property gridAutoColumns. Sets the value for the CSS display:grid property MDN web docs: grid-auto-columns
When called with a value of Default value is |
setGridAutoFlow |
Sets a new value for property gridAutoFlow. Sets the value for the CSS display:grid property MDN web docs: grid-auto-flow
When called with a value of Default value is |
setGridAutoRows |
Sets a new value for property gridAutoRows. Sets the value for the CSS display:grid property MDN web docs: grid-auto-rows
When called with a value of Default value is |
setGridColumnGap |
Sets a new value for property gridColumnGap. Sets the value for the CSS display:grid property MDN web docs: grid-column-gap
When called with a value of Default value is |
setGridGap |
Sets a new value for property gridGap. Sets the value for the CSS display:grid property MDN web docs: grid-gap
When called with a value of Default value is |
setGridRowGap |
Sets a new value for property gridRowGap. Sets the value for the CSS display:grid property MDN web docs: grid-row-gap
When called with a value of Default value is |
setGridTemplateColumns |
Sets a new value for property gridTemplateColumns. Sets the value for the CSS display:grid property MDN web docs: grid-template-columns
When called with a value of Default value is |
setGridTemplateRows |
Sets a new value for property gridTemplateRows. Sets the value for the CSS display:grid property MDN web docs: grid-template-rows
When called with a value of Default value is |
Creates a new subclass of class sap.ui.layout.cssgrid.GridSettings 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.base.ManagedObject.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 gridAutoColumns.
Sets the value for the CSS display:grid property MDN web docs: grid-auto-columns
Default value is empty string
.
Gets current value of property gridAutoFlow.
Sets the value for the CSS display:grid property MDN web docs: grid-auto-flow
Default value is "Row"
.
Gets current value of property gridAutoRows.
Sets the value for the CSS display:grid property MDN web docs: grid-auto-rows
Default value is empty string
.
Gets current value of property gridColumnGap.
Sets the value for the CSS display:grid property MDN web docs: grid-column-gap
Default value is empty string
.
Gets current value of property gridGap.
Sets the value for the CSS display:grid property MDN web docs: grid-gap
Default value is empty string
.
Gets current value of property gridRowGap.
Sets the value for the CSS display:grid property MDN web docs: grid-row-gap
Default value is empty string
.
Gets current value of property gridTemplateColumns.
Sets the value for the CSS display:grid property MDN web docs: grid-template-columns
Default value is empty string
.
Gets current value of property gridTemplateRows.
Sets the value for the CSS display:grid property MDN web docs: grid-template-rows
Default value is empty string
.
Returns a metadata object for class sap.ui.layout.cssgrid.GridSettings.
Sets a new value for property gridAutoColumns.
Sets the value for the CSS display:grid property MDN web docs: grid-auto-columns
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 |
---|---|---|---|
sGridAutoColumns | sap.ui.layout.cssgrid.CSSGridTrack | "" |
New value for property |
Sets a new value for property gridAutoFlow.
Sets the value for the CSS display:grid property MDN web docs: grid-auto-flow
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is "Row"
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sGridAutoFlow | sap.ui.layout.cssgrid.CSSGridAutoFlow | "Row" |
New value for property |
Sets a new value for property gridAutoRows.
Sets the value for the CSS display:grid property MDN web docs: grid-auto-rows
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 |
---|---|---|---|
sGridAutoRows | sap.ui.layout.cssgrid.CSSGridTrack | "" |
New value for property |
Sets a new value for property gridColumnGap.
Sets the value for the CSS display:grid property MDN web docs: grid-column-gap
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 |
---|---|---|---|
sGridColumnGap | sap.ui.core.CSSSize | "" |
New value for property |
Sets a new value for property gridGap.
Sets the value for the CSS display:grid property MDN web docs: grid-gap
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 |
---|---|---|---|
sGridGap | sap.ui.layout.cssgrid.CSSGridGapShortHand | "" |
New value for property |
Sets a new value for property gridRowGap.
Sets the value for the CSS display:grid property MDN web docs: grid-row-gap
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 |
---|---|---|---|
sGridRowGap | sap.ui.core.CSSSize | "" |
New value for property |
Sets a new value for property gridTemplateColumns.
Sets the value for the CSS display:grid property MDN web docs: grid-template-columns
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 |
---|---|---|---|
sGridTemplateColumns | sap.ui.layout.cssgrid.CSSGridTrack | "" |
New value for property |
Sets a new value for property gridTemplateRows.
Sets the value for the CSS display:grid property MDN web docs: grid-template-rows
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 |
---|---|---|---|
sGridTemplateRows | sap.ui.layout.cssgrid.CSSGridTrack | "" |
New value for property |