Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
animationShowDelay | Number | 250 | ||||||
Sets or gets the delay of the fade animation when the Radio Button is going to be checked. Code examples
Set the
Get the
Try it: animationShowDelay is set to 500
|
||||||||
animationHideDelay | Number | 300 | ||||||
Sets or gets the delay of the fade animation when the Radio Button is going to be unchecked. Code examples
Set the
Get the
Try it: animationHideDelay is set to 500
|
||||||||
boxSize | String | "13px" | ||||||
Sets or gets the Radio Button's size. Code examples
Set the
Get the
Try it: boxSize is set to '15px'
|
||||||||
checked | Boolean | false | ||||||
Sets or gets whether the radio button is checked. Code examples
Set the
Get the
Try it: checked is set to true
|
||||||||
disabled | Boolean | false | ||||||
Sets or gets whether the Radio Button is disabled. Code examples
Set the
Get the
Try it: disabled is set to true
|
||||||||
enableContainerClick | Boolean | true | ||||||
Sets or gets whether the clicks on the container are handled as clicks on the rounded button. Code examples
Set the
Get the
|
||||||||
groupName | String | "" | ||||||
Sets or gets the group name. When this property is set, checking a radio button from the group, will uncheck only the radio buttons from the same group. Code examples
Set the
Get the
Try it: groupName is set to "Group"
|
||||||||
hasThreeStates | Boolean | false | ||||||
Sets or gets whether the radio button has 3 states - checked, unchecked and indeterminate. Code examples
Set the
Get the
Try it: hasThreeStates is set to true
|
||||||||
height | Number/String | null | ||||||
Sets or gets the jqxRadioButton's height. Code examples
Set the
Get the
Try it: height is set to 25
|
||||||||
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
|
||||||||
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'
|
||||||||
width | Number/String | null | ||||||
Sets or gets the jqxRadioButton's width. Code examples
Set the
Get the
Try it: width is set to 120
|
||||||||
Events |
||||||||
checked | Event | |||||||
This event is triggered when the Radio Button is checked. Code examples
Bind to the
|
||||||||
change | Event | |||||||
This is triggered when the Radio Button's state changes from one state to another. Code examples
Bind to the
|
||||||||
unchecked | Event | |||||||
This event is triggered when the Radio Button is unchecked. Code examples
Bind to the
|
||||||||
Methods |
||||||||
check | Method | |||||||
Checks the radio button.
None Code example
Invoke the
|
||||||||
disable | Method | |||||||
Disables the radio button.
None Code example
Invoke the
|
||||||||
destroy | Method | |||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroy the jqxRadioButton.
|
||||||||
enable | Method | |||||||
Enables the radio button.
None Code example
Invoke the
|
||||||||
focus | Method | |||||||
Focuses the widget.
None Code examples
Invoke the
Try it: focuses the jqxRadioButton.
|
||||||||
render | Method | |||||||
Renders the widget.
None Code examples
Invoke the
Try it: renders jqxRadioButton.
|
||||||||
uncheck | Method | |||||||
Unchecks the radio button.
None Code example
Invoke the
|
||||||||
val | Method | |||||||
Sets or gets the value.
Boolean Code example
Invoke the
// Get the value using jQuery's val()
// Set value.
// Set value using jQuery's val().
|