Javascript (Usage) | |
---|---|
$(function () { var options; // Type: wijmo.input.wijinputdate.options $(".selector").wijinputdate(options); }); |
Javascript (Specification) | |
---|---|
|
Name | Description | |
---|---|---|
activeField | Default value: 0 Determines the active field index. | |
allowSpinLoop | Default value: false Determines whether the spin behavior can wrap when reaching a maximum or minimum limit. | |
amDesignator | Default value: "" Determines string designator for hours that are "ante meridiem" (before noon). | |
autoNextField | Default value: true Determines whether to automatically moves to the next field. | |
blurOnLastChar | Default value: false Determins whether or not the next control in the tab order receives the focus as soon as the control is filled at the last character. | |
blurOnLeftRightKey | Default value: 'none' Gets or set whether the focus automatically moves to the next or previous tab ordering control when pressing the left, right arrow keys. | |
calendar | Default value: 'default' This option will supply an element to init the calendar widget | |
culture | Default value: "" Determines the culture used to show values in the wijinputdate widget. | |
date | Determines the initial date value shown for the wijdateinput widget. | |
dateFormat | Default value: 'd' The format pattern to display the date value when control got focus. | |
displayFormat | Default value: "" The format pattern to display the date value when control lost focus. | |
dropDownButtonAlign | Default value: 'right' Determines the side, left or right, where the dropdown button appear. Possible values are: 'left', 'right' | |
hideEnter | Default value: false If true, then the browser response is disabled when the ENTER key is pressed. | |
hour12As0 | Default value: false A bool value determines the range of hours that can be entered in the control. | |
imeMode | Default value: 'auto' Determines the input method setting of widget. Possible values are: 'auto', 'active', 'inactive', 'disabled' | |
invalidClass | The CSS class applied to the widget when an invalid value is entered. | |
keyDelay | Default value: 800 Determines the time span, in milliseconds, between two input intentions. | |
maxDate | Default value: null Determines the latest, or maximum date, that can be entered. | |
midnightAs0 | Default value: true A bool value determines whether to express midnight as 24:00. | |
minDate | Default value: null Determines the earliest, or minimum, date that can be entered. | |
pickers | An object contains the settings for the dropdown list. | |
placeholder | Determines the text displayed when the widget is blank and contains no initial text. | |
pmDesignator | Default value: "" Determines the string designator for hours that are "post meridiem" (after noon). | |
popupPosition | Detemines the popup position of a calendar. See jQuery.ui.position for position options. | |
readonly | Default value: false Determines whether a user can enter a value in the wijinput widget. If readonly is true, user can't input value to the wijinput widget. | |
showDropDownButton | Default value: true Determines whether dropdown button is displayed. | |
showSpinner | Default value: false Determines whether spinner button is displayed. | |
showTrigger | Determines whether dropdown button is displayed. | |
smartInputMode | Default value: false Determines whether the control should interpret incomplete year information using the value provided in the "startYear" option. | |
spinDown | Default value: null The spinDown event handler. A function called when spin down event fired. | |
spinnerAlign | Default value: 'verticalRight' Determines the side, left or right, where the spinner button appear. Possible values are: 'vertialLeft', 'verticalRight', 'horizontalDownLeft', 'horizontalUpLeft'. The default value is 'verticalRight'. | |
spinUp | Default value: null The spinUp event handler. A function called when spin up event fired. | |
startYear | Default value: 1950 Determines how the control should interpret incomplete year information when the "smartInputMode" option is set to true. | |
tabAction | Default value: 'field' Gets or sets whether the tab key moves the focus between controls or between fields within the control, possible values is "field", "control". | |
valueBoundsExceeded | Default value: null The valueBoundsExceeded event hander. A function called when the valueBoundExceeded event fired. |
Name | Description | |
---|---|---|
destroy | Destroy the widget. | |
drop | Open the dropdown window. | |
focus | Set the focus to the widget. | |
getPostValue | Gets the text value when the container form is posted back to server. | |
getText | Gets the text displayed in the input box. | |
isDateNull | Determines whether the date is a null value. | |
isDestroyed | Get a bool value indicates that whether the widget has been destroyed. | |
isFocused | Determines whether the widget has the focus. | |
selectText | Selects a range of text in the widget. | |
setText | Sets the text displayed in the input box. | |
spinDown | Performs spin down by the specified field and increment value. | |
spinUp | Performs spin up by the specified field and increment value. | |
widget | Gets element this widget is associated. |
Name | Description | |
---|---|---|
dateChanged | The dateChanged event handler. A function called when the date of the input is changed. | |
dropDownButtonMouseDown | The dropdownButtonMouseDown event handler. A function called when the mouse is pressed down on the dropdown button. | |
dropDownButtonMouseUp | The dropdownButtonMouseUp event handler. A function called when the mouse is released on the dropdown button. | |
dropDownClose | The dropdownClose event handler. A function called before the widget's dropdown closed. | |
dropDownOpen | The dropdownOpen event handler. A function called before the widget's dropdown opened. | |
initialized | The initialized event handler. A function called after the widget is initialized. | |
initializing | The initializing event handler. A function called before the widget is initialized. | |
invalidInput | The invalidInput event handler. A function called when invalid charactor is typed. | |
textChanged | Fired when the widget text is changed. |