Class sap.gantt.config.GanttChartLayoutModule: sap/gantt/config/GanttChartLayout
Defines the Gantt chart layout. This includes but is not limited to the CSS size, mode, and hierarchy of the Gantt chart.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
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
- ganttChartSize : sap.ui.core.CSSSize
- activeModeKey : string (default: sap.gantt.config.DEFAULT_MODE_KEY)
- hierarchyKey : string (default: sap.gantt.config.DEFAULT_HIERARCHY_KEY)
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | ID of 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.Element.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 |
activeModeKey
. Key of the mode. See sap.gantt.config.Mode
Default value is sap.gantt.config.DEFAULT_MODE_KEY
.
{string} | Value of property activeModeKey |
ganttChartSize
. CSS Size of the Gantt chart. See sap.ui.core.CSSSize
{sap.ui.core.CSSSize} | Value of property ganttChartSize |
hierarchyKey
. Key of the hierarchy. See sap.gantt.config.Hierarchy
Default value is sap.gantt.config.DEFAULT_HIERARCHY_KEY
.
{string} | Value of property hierarchyKey |
activeModeKey
. Key of the mode. See sap.gantt.config.Mode
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_MODE_KEY
.
{string} | sActiveModeKey | New value for property activeModeKey |
{sap.gantt.config.GanttChartLayout} | Reference to this in order to allow method chaining |
ganttChartSize
. CSS Size of the Gantt chart. See sap.ui.core.CSSSize
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.core.CSSSize} | sGanttChartSize | New value for property ganttChartSize |
{sap.gantt.config.GanttChartLayout} | Reference to this in order to allow method chaining |
hierarchyKey
. Key of the hierarchy. See sap.gantt.config.Hierarchy
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_HIERARCHY_KEY
.
{string} | sHierarchyKey | New value for property hierarchyKey |
{sap.gantt.config.GanttChartLayout} | Reference to this in order to allow method chaining |