DateTimePicker API Reference

Properties

Name Type Default Value
animation string 'advanced'
animationSettings object null
autoClose boolean false
autoCloseDelay boolean 500
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 'auto'
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 string[]
importantDatesTemplate string | HTMLTemplateElement null
interval number | Smart.Utilities.TimeSpan new Smart.Utilities.TimeSpan(0, 0, 1)
label string ''
locale string 'en'
localizeFormatFunction function | null null
max Date | Smart.Utilities.DateTime new Smart.Utilities.DateTime(3001, 1, 1)
messages object Please expand entry to see value
min Date | Smart.Utilities.DateTime new Smart.Utilities.DateTime(1600, 1, 1)
name string ''
nullable boolean false
opened boolean false
placeholder string 'Enter date'
readonly boolean false
restrictedDates Date[]
rightToLeft boolean false
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
validation string 'strict'
value Date | Smart.Utilities.DateTime new Smart.Utilities.DateTime()
weekNumbers boolean false
weeks number 6
yearCutoff number 1926

Events

Name Type
change Event
close Event
closing Event
open Event
opening Event

Methods

Name Type Return Type
close(): void Method void
focus(): void Method void
open(): void Method void
select(): void Method void