Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
animationType | String | 'slide' | ||||||
Sets or gets the type of the animation. Possible Values:
Code exampleSet the animationType property
Get the
Try it: animationType is set to 'fade'
|
||||||||
autoOpen | Boolean | false | ||||||
Sets or gets whether the DropDown is automatically opened when the mouse cursor is moved over the widget. Code example
Set the
Get the
Try it: autoOpen is set to true
|
||||||||
closeDelay | Number | 400 | ||||||
Sets or gets the delay of the 'close' animation. Code exampleSet the closeDelay property
Get the
Try it: closeDelay is set to 2000
|
||||||||
disabled | Boolean | false | ||||||
Enables or disables the dropDownButton. Code examples
Set the
Get the
Try it: disabled is set to true
|
||||||||
dropDownHorizontalAlignment | String | 'left' | ||||||
Sets or gets the DropDown's alignment. Possible values:
Code example
Get the
|
||||||||
dropDownVerticalAlignment | String | 'bottom' | ||||||
Sets or gets the DropDown's alignment. Possible Values:
Code example
Get the
|
||||||||
enableBrowserBoundsDetection | Boolean | false | ||||||
When this property is set to true, the popup may open above the button, if there's not enough available space below the button. Code example
Set the
Get the
|
||||||||
height | Number/String | null | ||||||
Sets or gets the button's height. Code examples
Set the
Get the
Try it: height is set to 19
|
||||||||
initContent | Function | null | ||||||
Sets a function which initializes the button's content. Code examples
Set the
Try it: initContent is set
|
||||||||
openDelay | Number | 350 | ||||||
Sets or gets the delay of the 'open' animation. Code exampleSet the
Get the
Try it: openDelay is set to 2000
|
||||||||
popupZIndex | Number | 20000 | ||||||
Sets or gets the popup's z-index. Code example
Set the
Get the
Try it: popupZIndex is set to 999999
|
||||||||
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
|
||||||||
template | String | 'default' | ||||||
Determines the template as an alternative of the default styles. Possible Values:
Code examples
Set the
Get the
Try it: template is set to 'success'
|
||||||||
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 button's width. Code examples
Set the
Get the
Try it: width is set to 150
|
||||||||
Events |
||||||||
close | Event | |||||||
This event is triggered when the button's popup is closed. Code examples
Bind to the
|
||||||||
open | Event | |||||||
This event is triggered when the button's popup is opened. Code examples
Bind to the
|
||||||||
Methods |
||||||||
close | Method | |||||||
Hides the button's content.
None Code examples
Invoke the
Try it: closes the jqxDropDownButton
|
||||||||
destroy | Method | |||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys the jqxDropDownButton
|
||||||||
focus | Method | |||||||
Focuses the widget.
None Code examples
Invoke the
Try it: focuses the jqxDropDownButton
|
||||||||
getContent | Method | |||||||
Gets the button's content. The returned value is the button's content set through the "setContent" method.
Object - jQuery object. Code examples
Invoke the
|
||||||||
isOpened | Method | |||||||
Returns true, if the drop down is opened. Otherwise returns false.
Boolean Code example
Invoke the
|
||||||||
open | Method | |||||||
Shows the button's content.
None Code examples
Invoke the
Try it: opens the jqxDropDownButton
|
||||||||
setContent | Method | |||||||
Sets the button's content. The parameter could be a "string" or "html".
None Code examples
Invoke the
|