Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
disabled | Boolean | false | ||||||
Enables or disables the jqxFormattedInput. Code examples
Set the
Get the
Try it: disabled
is set to true
|
||||||||
decimalNotation | String | "default" | ||||||
Sets or gets the notation in which to display decimal numbers. Possible values'default' - the default representation of decimal numbers, e.g. 1590; 'exponential' - representation of decimal numbers in scientific exponential notation (E notation), e.g. 1.59e+3. Code example
Set the
Get the
|
||||||||
dropDown | Boolean | false | ||||||
Sets or gets whether the jqxFormattedInput's dropdown (pop-up) will be enabled. The dropdown allows the user to choose the radix (numeral system) of the displayed number.
Note: the dropdown requires an additional empty Code examples
Set the
Get the
Try it: dropDown
is set to true
|
||||||||
dropDownWidth | Number/String | null | ||||||
Sets or gets the width of the jqxFormattedInput's dropdown (pop-up). Code examples
Set the
Get the
Try it: dropDownWidth
is set to 200
|
||||||||
height | Number/String | null | ||||||
Sets or gets the jqxFormattedInput's height. Code examples
Set the
Get the
Try it: height
is set to 35
|
||||||||
min | String | '-9223372036854775808' | ||||||
Sets or gets the minimum value of the widget. The value of min should be in the
same numeral system as Code example
Set the
Get the
Try it: min
is set to "0"
|
||||||||
max | String | '9223372036854775807' | ||||||
Sets or gets the maximum value of the widget. The value of max should be in the
same numeral system as Code example
Set the
Get the
Try it: max
is set to "111110100"
|
||||||||
placeHolder | String | '' | ||||||
Sets or gets the jqxFormattedInput's placeholder. Code example
Set the
Get the
|
||||||||
popupZIndex | Number | 20000 | ||||||
Sets or gets the pop-up's z-index. Code example
Set the
Get the
Try it: popupZIndex
is set to 99999
|
||||||||
roundedCorners | boolean | true | ||||||
Enables or disables the rounded corners functionality. This property setting has effect in browsers which support CSS border-radius. Code example
Set the
Get the
Try it: roundedCorners
is set to false
|
||||||||
rtl | Boolean | false | ||||||
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts. Code example
Set the
Get the
Try it: rtl
is set to true
|
||||||||
radix | Number/String | 10 | ||||||
Sets or gets the radix of the jqxFormattedInput. The radix specifies the numeral system in which to display the widget's value. Possible values2 or 'binary' - specifies the binary numeral system. Allowed characters for this numeral system are the digits 0 and 1; 8 or 'octal' - specifies the octal numeral system. Allowed characters for this numeral system are the digits from 0 to 7; 10 or 'decimal' - specifies the decimal numeral system. Allowed characters for this numeral system are the digits from 0 to 9; 16 or 'hexadecimal' - specifies the hexadecimal numeral system. Allowed characters for this numeral system are the digits from 0 to 9 and letters from a to f (case insenstive). Code example
Set the
Get the
Try it: radix
is set to "hexadecimal"
|
||||||||
spinButtons | Boolean | true | ||||||
Shows or hides the spin buttons.
Note: the spin buttons require an additional empty Code examples
Set the
Get the
Try it: spinButtons
is set to false
|
||||||||
spinButtonsStep | Number | 1 | ||||||
Sets or gets the increase/decrease step. The value of Code examples
Set the
Get the
Try it: spinButtonsStep
is set to 2
|
||||||||
template | String | 'default' | ||||||
Determines the template as an alternative of the default styles. Possible Values:
Code examples
Set the
Get the
Try it: template is set to 'primary'
|
||||||||
theme | String | '' | ||||||
Sets the widget's theme. jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file. In order to set a theme, you need to do the following:
Try it: theme
is set to 'energyblue'
|
||||||||
upperCase | boolean | false | ||||||
Sets or gets whether to use upper case when the Code example
Set the
Get the
Try it: upperCase
is set to true
|
||||||||
value | String | '0' | ||||||
Sets or gets the value of the jqxFormattedInput widget. The value is in the numeral
system specified by the Code example
Set the
Get the
Try it: value
is set to "100111101011"
|
||||||||
width | Number/String | null | ||||||
Sets or gets the jqxFormattedInput's width. Code examples
Set the
Get the
Try it: width
is set to 200
|
||||||||
Events |
||||||||
change | Event | |||||||
This event is triggered when the value is changed. Code examples
Bind to the
|
||||||||
close | Event | |||||||
This event is triggered when the pop-up is closed. Code examples
Bind to the
|
||||||||
open | Event | |||||||
This event is triggered when the pop-up is opened. Code examples
Bind to the
|
||||||||
radixChange | Event | |||||||
This event is triggered when the radix is changed. Code examples
Bind to the
|
||||||||
Methods |
||||||||
close | Method | |||||||
Closes the jqxFormattedInput pop-up.
None Code examples
Invoke the
|
||||||||
destroy | Method | |||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys
the formatted input
|
||||||||
focus | Method | |||||||
Focuses the widget.
None Code examples
Invoke the
Try it: focuses
the formatted input
|
||||||||
open | Method | |||||||
Opens the jqxFormattedInput pop-up.
None Code examples
Invoke the
|
||||||||
render | Method | |||||||
Renders the widget.
None Code examples
Invoke the
Try it: renders
the formatted input
|
||||||||
refresh | Method | |||||||
Refreshes the widget.
None Code examples
Invoke the
Try it: refreshes
the formatted input
|
||||||||
selectAll | Method | |||||||
Selects the text in the input field.
None Code examples
Invoke the
|
||||||||
selectFirst | Method | |||||||
Positions the caret in the beginning of the number in the input.
None Code examples
Invoke the
|
||||||||
selectLast | Method | |||||||
Positions the caret at the end of the number in the input.
None Code examples
Invoke the
|
||||||||
val | Method | |||||||
Sets or gets the value.
String Code examples
Get the
Set the
Try it: sets
the jqxFormattedInput value
|