Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
disabled | Boolean | false | ||||||
Sets or gets whether the scrollbar is disabled. Code examples
Set the
Get the
Try it: disabled is set to true
|
||||||||
height | Number/String | null | ||||||
Sets or gets height of the scroll bar. Code examples
Set the
Get the
Try it: height is set to 18
|
||||||||
largestep | Number | 50 | ||||||
Sets or gets the scrollbar's largestep. The value is increased/decreased with this largestep when the user presses the left mouse button in the area between a scrollbar button and thumb. Code examples
Set the
Get the
Try it: largestep is set to 100
|
||||||||
min | Number | 0 | ||||||
Sets or gets the scrollbar's minimum value. Code examples
Set the
Get the
Try it: min is set to 3
|
||||||||
max | Number | 1000 | ||||||
Sets or gets the scrollbar's maximum value. Code examples
Set the
Get the
Try it: max is set to 120
|
||||||||
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
|
||||||||
step | Number | 10 | ||||||
Sets or gets the scrollbar's step. The value is increased/decreased with this step when the user presses a scrollbar button. Code examples
Set the
Get the
Try it: step is set to 20
|
||||||||
showButtons | Boolean | true | ||||||
Sets or gets whether the scrollbar displays the increase and decrease arrow buttons. Code examples
Set the
Get the
Try it: showButtons is set to false
|
||||||||
thumbMinSize | Number | 10 | ||||||
Specifies the scrollbar thumb's minimum size. Code examples
Set the
Get the
Try it: thumbMinSize is set to 5
|
||||||||
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'
|
||||||||
vertical | Boolean | false | ||||||
Sets or gets the scrollbar's orientation. Code examples
Set the
Get the
Try it: vertical is set to true
|
||||||||
value | Number | |||||||
Sets or gets the scrollbar's value. Code examples
Set the
Get the
Try it: value is set to 20
|
||||||||
width | Number/String | null | ||||||
Sets or gets width of the scroll bar. Code examples
Set the
Get the
Try it: width is set to 250
|
||||||||
Events |
||||||||
valueChanged | Event | |||||||
This event is triggered when the value is changed. Code examples
Bind to the
|
||||||||
Methods |
||||||||
destroy | Method | |||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroy the jqxScrollBar
|
||||||||
isScrolling | Method | |||||||
Returns true, if the user is scrolling. Otherwise, returns false.
Boolean Code examples
Invoke the
|
||||||||
setPosition | Method | |||||||
Sets the thumb's position
None Code examples
Invoke the
|