$(function () { var options; // Type: wijmo.input.wijinputnumber.options $(".selector").wijinputnumber(options); });
function wijinputnumber() : any;
$(function () { var options; // Type: wijmo.input.wijinputnumber.options $(".selector").wijinputnumber(options); });
function wijinputnumber() : any;
Name | Description | |
---|---|---|
allowSpinLoop | Default value: false Determines whether the spin behavior can wrap when reaching a maximum or minimum limit. | |
blurOnLeftRightKey | Default value: 'none' Determines whether the focus automatically moves to the next or previous tab ordering control when pressing the left, right arrow keys. Possible values are "none", "left", "right", "both". The default value is "none". | |
culture | Default value: "" Determines the culture used to show values in the wijinput widget. | |
cultureCalendar | Default value: "" Assigns the string value of the culture calendar that appears on the calendar. This option must work with culture option. | |
currencySymbol | Default value: null Determine the current symbol when number type is currency. | |
decimalPlaces | Default value: 2 Indicates the number of decimal places to display. | |
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. | |
highlightText | Default value: false Indicates whether to highlight the control's Text on receiving input focus. | |
imeMode | Default value: "" Determines the input method setting of widget. Possible values are: 'auto', 'active', 'inactive', 'disabled' | |
increment | Default value: 1 Determines how much to increase/decrease the active field when performing spin on the the active field. | |
invalidClass | The CSS class applied to the widget when an invalid value is entered. | |
maxValue | Default value: 1000000000 Determines the maximum value that can be entered for numeric/percent/currency inputs. | |
minValue | Default value: -1000000000 Determines the minimal value that can be entered for numeric/percent/currency inputs. | |
negativeClass | Determine the class string that when the input value is negative. | |
negativePrefix | Default value: null Determine the prefix string used for negative value. The default value will depend on the wijinputnumber's type option. | |
negativeSuffix | Default value: null Determine the suffix string used for negative value. The default value will depend on the wijinputnumber's type option. | |
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. | |
positivePrefix | Default value: null Determine the prefix string used for positive value. The default value will depend on the wijinputnumber's type option. | |
positiveSuffix | Default value: null Determine the suffix stirng used for positive value. The default value will depend on the wijinputnumber's type option. | |
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 by ui operation, such as spin, pick value from pickers. | |
showDropDownButton | Default value: false Determines whether dropdown button is displayed. | |
showGroup | Default value: false Indicates whether the thousands group separator will be inserted between between each digital group (number of digits in thousands group depends on the selected Culture). | |
showSpinner | Default value: false Determines whether spinner button is displayed. | |
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'. | |
type | Default value: 'numeric' Determines the type of the number input. Possible values are: 'numeric', 'percent', 'currency'. | |
value | Default value: 0 Determines the default numeric value. |
Name | Description | |
---|---|---|
destroy | Destroy the widget. | |
drop | Open the dropdown list. | |
focus | Set the focus to the widget. | |
getPostValue | Gets the text value when the container form is posted back to server. | |
getSelectedText | Gets the selected text. | |
getText | Gets the text displayed in the input box. | |
getValue | Gets the value. | |
isDestroyed | Get a boolean value indicates that whether the widget has been destroyed. | |
isFocused | Determines whether the widget has the focus. | |
isValueNull | Determines whether the value is in null state. | |
selectText | Selects a range of text in the widget. | |
setText | Sets the text displayed in the input box. | |
setValue | Sets the value. | |
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 | |
---|---|---|
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. | |
keyExit | Fired when the widget lost focus and caused by the keyboard behavior. | |
spinDown | The spinDown event handler. A function called when spin down event fired. | |
spinUp | The spinUp event handler. A function called when spin up event fired. | |
textChanged | Fired when the widget text is changed. | |
valueBoundsExceeded | The valueBoundsExceeded event handler. A function called when the value of the input exceeds the valid range. | |
valueChanged |