Name | Type | Default |
---|---|---|
disabled | Boolean | false |
Enables or disables the jqxButtonGroup. Code examples
Set the
Get the
Try it: disabled is set to true
|
||
enableHover | Boolean | false |
Enables or disabled the highlight state. Code examples
Set the
Get the
Try it: enableHover is set to false
|
||
mode | String | 'default' |
Sets or gets the jqxButtonGroup's mode. Possible Values:
Code examples
Set the
Get the
Try it: mode is set to 'radio'
|
||
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'
|
||
Events |
||
buttonclick | Event | |
This event is triggered when a button is clicked. Code examples
Bind to the
|
||
selected | Event | |
This event is triggered when a button is selected - in checkboxes or radio buttons mode. Code examples
Bind to the
|
||
unselected | Event | |
This event is triggered when a button is unselected - in checkbox or radio buttons mode. Code examples
Bind to the
|
||
Methods |
||
disableAt | Method | |
Disables a button at specific index. Code examples
Invoke the
|
||
disable | Method | |
Disables jqxButtonGroup. Code examples
Invoke the
Try it: disables the ButtonGroup
|
||
destroy | Method | |
Destroys the widget. Code examples
Invoke the
Try it: destroys the buttonGroup
|
||
enable | Method | |
Enables the jqxButtonGroup. Code examples
Invoke the
Try it: enables the ButtonGroup
|
||
enableAt | Method | |
Enables a button at specific index. Code examples
Invoke the
|
||
focus | Method | |
Focuses the widget. Code examples
Invoke the
Try it: focus the buttonGroup
|
||
getSelection | Method | |
Gets the index or indexes of the selected button(s).
Code examples
Invoke the
|
||
render | Method | |
Renders the widget. Code examples
Invoke the
Try it: render the buttonGroup
|
||
setSelection | Method | |
Selects a button in checkbox or radio buttons mode Code examples
Invoke the
|