Class sap.m.PlanningCalendarViewModule: sap/m/PlanningCalendarView
View of the PlanningCalendar.
The PlanningCalendarView defines the granularity of the output. It defines what type of intervals (hours, days or months) and how many intervals are shown.
Since: 1.34.0.
sClassName and enriches it with the information contained in oClassInfo.PlanningCalendarView. 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
- key : string
- intervalType : sap.ui.unified.CalendarIntervalType (default: Hour)
- description : string
- intervalsS : int (default: 6)
- intervalsM : int (default: 8)
- intervalsL : int (default: 12)
- showSubIntervals : boolean (default: false)
In addition, all settings applicable to the base type sap.ui.core.Element 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.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 |
description. Description of the PlanningCalendarView
| {string} | Value of property description |
intervalsL. Number of intervals (defined with intervalType) that are displayed on large size (desktop)
Note: It is not only the screen size which is used to determine the available space, the size of the PlanningCalendar is used as well.
Default value is 12.
| {int} | Value of property intervalsL |
intervalsM. Number of intervals (defined with intervalType) that are displayed on medium size (tablet)
Note: It is not only the screen size which is used to determine the available space, the size of the PlanningCalendar is used as well.
Default value is 8.
| {int} | Value of property intervalsM |
intervalsS. Number of intervals (defined with intervalType) that are displayed on small size (phones).
Note: It is not only the screen size which is used to determine the available space, the size of the PlanningCalendar is used as well.
Default value is 6.
| {int} | Value of property intervalsS |
intervalType. Type of the intervals of the row. Default is Hour.
Default value is Hour.
| {sap.ui.unified.CalendarIntervalType} | Value of property intervalType |
key. Key of the view. This must be set to identify the used view in the PlanningCalendar
| {string} | Value of property key |
showSubIntervals. If set subintervals are shown.
If the interval type is Hour, quarter hours are shown.
If the interval type is Day, hours are shown.
If the interval type is Month, days are shown.
Default value is false.
| {boolean} | Value of property showSubIntervals |
description. Description of the PlanningCalendarView
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sDescription | New value for property description |
| {sap.m.PlanningCalendarView} | Reference to this in order to allow method chaining |
intervalsL. Number of intervals (defined with intervalType) that are displayed on large size (desktop)
Note: It is not only the screen size which is used to determine the available space, the size of the PlanningCalendar is used as well.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 12.
| {int} | iIntervalsL | New value for property intervalsL |
| {sap.m.PlanningCalendarView} | Reference to this in order to allow method chaining |
intervalsM. Number of intervals (defined with intervalType) that are displayed on medium size (tablet)
Note: It is not only the screen size which is used to determine the available space, the size of the PlanningCalendar is used as well.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 8.
| {int} | iIntervalsM | New value for property intervalsM |
| {sap.m.PlanningCalendarView} | Reference to this in order to allow method chaining |
intervalsS. Number of intervals (defined with intervalType) that are displayed on small size (phones).
Note: It is not only the screen size which is used to determine the available space, the size of the PlanningCalendar is used as well.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 6.
| {int} | iIntervalsS | New value for property intervalsS |
| {sap.m.PlanningCalendarView} | Reference to this in order to allow method chaining |
intervalType. Type of the intervals of the row. Default is Hour.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is Hour.
| {sap.ui.unified.CalendarIntervalType} | sIntervalType | New value for property intervalType |
| {sap.m.PlanningCalendarView} | Reference to this in order to allow method chaining |
key. Key of the view. This must be set to identify the used view in the PlanningCalendar
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sKey | New value for property key |
| {sap.m.PlanningCalendarView} | Reference to this in order to allow method chaining |
showSubIntervals. If set subintervals are shown.
If the interval type is Hour, quarter hours are shown.
If the interval type is Day, hours are shown.
If the interval type is Month, days are shown.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
| {boolean} | bShowSubIntervals | New value for property showSubIntervals |
| {sap.m.PlanningCalendarView} | Reference to this in order to allow method chaining |