Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
animationShowDelay | Number | 250 | ||||||
Sets or gets the delay of the fade animation when the CheckBox is going to be checked. Code examples
Set the
Get the
Try it: animationShowDelay is set to 200
|
||||||||
animationHideDelay | Number | 300 | ||||||
Sets or gets the delay of the fade animation when the CheckBox is going to be unchecked. Code examples
Set the
Get the
Try it: animationHideDelay is set to 200
|
||||||||
boxSize | String | "13px" | ||||||
Sets or gets the checkbox's size. Code examples
Set the
Get the
Try it: boxSize is set to '15px'
|
||||||||
checked | Boolean | false | ||||||
Sets or gets the check state. Possible Values:(when the hasThreeStates property value is true)
Code examples
Set the
Get the
Try it: checked is set to true
|
||||||||
disabled | Boolean | false | ||||||
Sets or gets whether the CheckBox 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 check box. Code examples
Set the
Get the
|
||||||||
groupName | String | "" | ||||||
Sets or gets the group name. When this property is set, the checkboxes in the same group behave as radio buttons. Code examples
Set the
Get the
Try it: groupName is set to 'panel'
|
||||||||
height | Number/String | null | ||||||
Sets or gets the jqxCheckBox's height. Code examples
Set the
Get the
Try it: height is set to '100px'
|
||||||||
hasThreeStates | Boolean | false | ||||||
Sets or gets whether the checkbox has 3 states - checked, unchecked and indeterminate. Code examples
Set the
Get the
Try it: hasThreeStates is set to true
|
||||||||
locked | Boolean | false | ||||||
Sets or gets whether the checkbox is locked. In this mode the user is not allowed to check/uncheck the checkbox. Code examples
Set the
Get the
Try it: locked is set to true
|
||||||||
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 jqxCheckBox's width. Code examples
Set the
Get the
Try it: width is set to '300px'
|
||||||||
Events |
||||||||
checked | Event | |||||||
This event is triggered when the checkbox is checked. Code examples
Bind to the
|
||||||||
change | Event | |||||||
This is triggered when the checkbox's state changes from one state to another. Code examples
Bind to the
|
||||||||
indeterminate | Event | |||||||
This event is triggered when the checkbox's checked property is going to be null. Code examples
Bind to the
|
||||||||
unchecked | Event | |||||||
This event is triggered when the checkbox is unchecked. Code examples
Bind to the
|
||||||||
Methods |
||||||||
check | Method | |||||||
Checks the checkbox.
None Code example
Invoke the
Try it: checks the jqxCheckBox
|
||||||||
disable | Method | |||||||
Disables the checkbox.
None Code example
Invoke the
Try it: disables the jqxCheckBox
|
||||||||
destroy | Method | |||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys the jqxCheckBox
|
||||||||
enable | Method | |||||||
Enables the checkbox.
None Code example
Invoke the
Try it: enables the jqxCheckBox
|
||||||||
focus | Method | |||||||
Focuses the widget.
None Code examples
Invoke the
Try it: focuses the jqxCheckBox
|
||||||||
indeterminate | Method | |||||||
Sets the indeterminate state(checked property value is going to be null after calling this method).
None Code example
Invoke the
Try it: invoke the indeterminate method
|
||||||||
render | Method | |||||||
Renders the widget.
None Code examples
Invoke the
Try it: renders the jqxCheckBox
|
||||||||
toggle | Method | |||||||
Toggles the check state. This method is automatically called when the user clicks the checkbox.
None Code example
Invoke the
Try it: invoke the toggle method
|
||||||||
uncheck | Method | |||||||
Unchecks the checkbox.
None Code example
Invoke the
Try it: unchecks the jqxCheckBox
|
||||||||
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().
|