Class sap.ui.unified.calendar.DatesRowModule: sap/ui/unified/calendar/DatesRow
renders a row of days with ItemNavigation This is used inside the calendar. Not for stand alone usage If used inside the calendar the properties and aggregation are directly taken from the parent (To not duplicate and sync DateRanges and so on...)
Since: 1.30.0.
sClassName
and enriches it with the information contained in oClassInfo
. Property date
date to be focused or displayed.
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
- startDate : object
- days : int (default: 7)
- showDayNamesLine : boolean (default: true)
In addition, all settings applicable to the base type sap.ui.unified.calendar.Month 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.unified.calendar.Month.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 |
Property date
date to be focused or displayed. It must be in the displayed date range beginning with startDate
and days
days So set this properties before setting the date.
{object} | oDate | JavaScript date object for focused date. |
{sap.ui.unified.calendar.DatesRow} | this to allow method chaining |
days
. number of days displayed
Default value is 7
.
{int} | Value of property days |
showDayNamesLine
. If set the day names are shown in a separate line. If not set the day names are shown inside the single days.
Default value is true
.
- Since:
- 1.34.0
{boolean} | Value of property showDayNamesLine |
startDate
. Start date of the row If in rendering phase the date property is not in the range startDate + days, it is set to the start date So after setting the start date the date should be set to be in the range of the start date
{object} | Value of property startDate |
date
. Property date
date to be focused or displayed. It must be in the displayed date range beginning with startDate
and days
days So set this properties before setting the date.
{object} | oDate | JavaScript date object for start date. |
{sap.ui.unified.calendar.DatesRow} | this to allow method chaining |
days
. number of days displayed
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 7
.
{int} | iDays | New value for property days |
{sap.ui.unified.calendar.DatesRow} | Reference to this in order to allow method chaining |
firstDayOfWeek
. Property firstDayOfWeek
is not supported in sap.ui.unified.calendar.DatesRow
control.
{int} | iFirstDayOfWeek? | first day of the week |
showDayNamesLine
. If set the day names are shown in a separate line. If not set the day names are shown inside the single days.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bShowDayNamesLine | New value for property showDayNamesLine |
- Since:
- 1.34.0
{sap.ui.unified.calendar.DatesRow} | Reference to this in order to allow method chaining |
startDate
. Start date of the row If in rendering phase the date property is not in the range startDate + days, it is set to the start date So after setting the start date the date should be set to be in the range of the start date
When called with a value of null
or undefined
, the default value of the property will be restored.
{object} | oStartDate | New value for property startDate |
{sap.ui.unified.calendar.DatesRow} | Reference to this in order to allow method chaining |