Class sap.ui.layout.form.GridContainerDataModule: sap/ui/layout/form/GridContainerData
GridLayout
-specific properties for FormContainers
.
Since: 1.16.0.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- halfGrid : boolean (default: false)
In addition, all settings applicable to the base type sap.ui.core.LayoutData can be used as well.
{string} | sId? | Id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
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.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
halfGrid
. If set, the container takes half the width of the Form
(8 cells), if not it takes the full width (16 cells). If the GridLayout
is set to singleColumn
, the full width of the grid is only 8 cells. So containers are rendered only once per row.
Default value is false
.
{boolean} | Value of property halfGrid |
halfGrid
. If set, the container takes half the width of the Form
(8 cells), if not it takes the full width (16 cells). If the GridLayout
is set to singleColumn
, the full width of the grid is only 8 cells. So containers are rendered only once per row.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bHalfGrid | New value for property halfGrid |
{sap.ui.layout.form.GridContainerData} | Reference to this in order to allow method chaining |