DateTimePicker API Reference


animation string advanced
animationSettings object null
calendarButton boolean false
calendarButtonPosition string right
calendarMode string default
dayNameFormat string firstTwoLetters
disabled boolean false
disableAutoNavigation boolean false
displayKind string unspecified
displayModeView string table
dropDownAppendTo any null
dropDownDisplayMode string default
dropDownOverlay boolean false
dropDownPosition string bottom
editMode string default
enableMouseWheelAction boolean false
firstDayOfWeek number 0
footerTemplate any null
formatString string dd-MMM-yy HH:mm:ss.fff
headerTemplate any null
hideDayNames boolean false
hideOtherMonthDays boolean false
hideTooltipArrow boolean false
hint string
importantDates array
importantDatesTemplate string/HTMLTemplateElement null
interval TimeSpan/number new Smart.Utilities.TimeSpan(0, 0, 1)
label string
locale string en
localizeFormatFunction function null
max DateTime/Date new Smart.Utilities.DateTime(3001, 1, 1)
messages object {“en”:{“propertyUnknownType”:”‘{{name}}’ property is with undefined ‘type’ member!”,”propertyInvalidValue”:”Invalid ‘{{name}}’ property value! Actual value: {{actualValue}}, Expected value: {{value}}!”,”propertyInvalidValueType”:”Invalid ‘{{name}}’ property value type! Actual type: {{actualType}}, Expected type: {{type}}!”,”elementNotInDOM”:”Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.”,”moduleUndefined”:”Module is undefined.”,”missingReference”:”{{elementType}}: Missing reference to {{files}}.”,”htmlTemplateNotSuported”:”{{elementType}}: Browser doesn’t support HTMLTemplate elements.”,”invalidTemplate”:”{{elementType}}: \”{{property}}\” property accepts a string that must match the id of an HTMLTemplate element from the DOM.”,”now”:”Now”,”dateTabLabel”:”DATE”,”timeTabLabel”:”TIME”}}
min DateTime/Date new Smart.Utilities.DateTime(1600, 1, 1)
name string
nullable boolean false
opened boolean false
placeholder string Enter date
readonly boolean false
restrictedDates array
spinButtons boolean false
spinButtonsDelay number 75
spinButtonsInitialDelay number 0
spinButtonsPosition string right
theme string
tooltip boolean false
tooltipDelay number 100
tooltipPosition string top
tooltipTemplate string/HTMLTemplateElement null
unfocusable boolean false
value DateTime/Date new Smart.Utilities.DateTime()
weekNumbers boolean false
weeks number 6


change Event
close Event
closing Event
open Event
opening Event


close Method
focus Method
open Method