Name | Type | Default | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
autoUpdate | Boolean | false | |||||||||
Automatically updates the panel, if its children size is changed. Code examples
Set the
Get the
Try it: autoUpdate is set to true
|
|||||||||||
disabled | Boolean | false | |||||||||
Sets or gets whether the panel is disabled. Code examples
Set the
Get the
Try it: disabled is set to true
|
|||||||||||
height | Number/String | null | |||||||||
Sets or gets the panel's height. Code examples
Set the
Get the
Try it: height is set to 250
|
|||||||||||
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
|
|||||||||||
sizeMode | String | 'fixed' | |||||||||
Sets or gets the sizing mode. In the 'fixed' mode, the panel displays scrollbars, if its content requires it. In the wrap mode, the scrollbars are not displayed and the panel automatically changes its size. Possible Values:
Code examples
Set the
Get the
Try it: sizeMode is set to 'wrap'
|
|||||||||||
scrollBarSize | Number | 17 | |||||||||
Sets or gets the scrollbar's size. Code examples
Set the
Get the
Try it: scrollBarSize is set to 20
|
|||||||||||
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 panel's width. Code examples
Set the
Get the
Try it: width is set to 250
|
|||||||||||
Methods |
|||||||||||
append | Method | ||||||||||
Appends an element to the panel's content.
None Code examples
Invoke the
|
|||||||||||
clearcontent | Method | ||||||||||
Clears the panel's content.
None Code examples
Invoke the
|
|||||||||||
destroy | Method | ||||||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroy the jqxPanel.
|
|||||||||||
focus | Method | ||||||||||
Focuses the widget.
None Code examples
Invoke the
Try it: focuses the jqxPanel.
|
|||||||||||
getScrollHeight | Method | ||||||||||
Get the scrollable height. Returns a Number.
Number Code examples
Invoke the
|
|||||||||||
getVScrollPosition | Method | ||||||||||
Get the vertical scrollbar's position. Returns a Number.
Number Code examples
Invoke the
|
|||||||||||
getScrollWidth | Method | ||||||||||
Get the scrollable width. Returns a Number.
Number Code examples
Invoke the
|
|||||||||||
getHScrollPosition | Method | ||||||||||
Get the horizontal scrollbar's position. Returns a Number.
Number Code examples
Invoke the
|
|||||||||||
prepend | Method | ||||||||||
Prepends an element to the panel's content.
None Code examples
Invoke the
|
|||||||||||
remove | Method | ||||||||||
Remove an element from the panel's content.
None Code examples
Invoke the
|
|||||||||||
scrollTo | Method | ||||||||||
Scroll to specific position.
None Code examples
Invoke the
|