kendo-date-picker

A component in which only dates may be entered. This component also contains a fold-out calendar where you can select a date that is then entered.

Property

Description

required

Example

defaultValueModifier

An additional field which can only be used with kendo-date-time-picker. If the default value can be calculated, it can be done here. The structure looks like this:

"today" or "value

"+"

number of days to be shifted by

The words must be separated by a space. If you enter "today", today's date will be taken and if you enter "value", the value at "defaultValue" will be taken.


"defaultValueModifier" : "today + -5"

oder

"defaultValue" : "01.01.2019",

"defaultValueModifier" : "value + 3"

focus

If the focus is to be on this field when the page is loaded, this property must be set to "true".

It should be ensured that the property "focus" is only set to "true" for one component, otherwise the last component rendered will receive the focus, if several have this property.


"focus": true

min

The "min" property allows you to specify which date value may not be fallen short of. This will display all days in the calendar that are above or equal to the minimum value.



max

The "max" property allows you to specify which date value may not be exceeded. This will display all days in the calendar that are below or equal to the maximum value.