Name | Type | Default | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
disabled | Boolean | false | |||||||||||||||
Enables or disables the jqxToolBar and all its tools. Code examples
Set the
Get the
Try it: disabled
is set to true
|
|||||||||||||||||
height | Number/String | 35 | |||||||||||||||
Sets or gets the jqxToolBar's height. Code examples
Set the
Get the
Try it: height
is set to 50
|
|||||||||||||||||
initTools | function | null | |||||||||||||||
A callback function where settings can be made to the tools specified in the
If you wish to disable the minimization of a tool, return
Code example
Set the
Get the
|
|||||||||||||||||
minimizeWidth | Number/String | 200 | |||||||||||||||
Sets or gets the width of the minimize pop-up menu. Code example
Set the
Get the
Try it: minimizeWidth
is set to 250
|
|||||||||||||||||
minWidth | Number/String | null | |||||||||||||||
Sets or gets the minimum width of the jqxToolBar. Code examples
Set the
Get the
Try it: minWidth is set to 300
|
|||||||||||||||||
maxWidth | Number/String | null | |||||||||||||||
Sets or gets the maximum width of the jqxToolBar. Code example
Set the
Get the
Try it: maxWidth
is set to 1000.
|
|||||||||||||||||
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
|
|||||||||||||||||
tools | String | '' | |||||||||||||||
Sets or gets the types of tools in the jqxToolBar in the order they appear. The
value of Code example
Set the
Get the
Try it: tools
is set to a custom string.
|
|||||||||||||||||
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 jqxToolBar's width. Code examples
Set the
Get the
Try it: width is set to 700
|
|||||||||||||||||
Events |
|||||||||||||||||
close | Event | ||||||||||||||||
This event is triggered when the minimize pop-up menu is closed. Code examples
Bind to the
|
|||||||||||||||||
open | Event | ||||||||||||||||
This event is triggered when the minimize pop-up menu is opened. Code examples
Bind to the
|
|||||||||||||||||
Methods |
|||||||||||||||||
addTool | Method | ||||||||||||||||
Adds a tool to the jqxToolBar. List of parameters:
None Code examples
Invoke the
Try it: adds
a tool
|
|||||||||||||||||
disableTool | Method | ||||||||||||||||
Disables a tool. List of parameters:
None Code examples
Invoke the
Try it: disables
a tool
|
|||||||||||||||||
destroy | Method | ||||||||||||||||
Destroys the toolbar and all its tools.
None Code examples
Invoke the
Try it: destroys
the jqxToolBar
|
|||||||||||||||||
destroyTool | Method | ||||||||||||||||
Destroys a tool.
None Code examples
Invoke the
Try it: destroys
a tool
|
|||||||||||||||||
getTools | Method | ||||||||||||||||
Returns an array of all tools in the jqxToolBar. Each tool is represented by an object with the following fields:
Array Code examples
Invoke the
Try it: get
all tools
|
|||||||||||||||||
render | Method | ||||||||||||||||
Renders the widget.
None Code examples
Invoke the
Try it: renders
the jqxToolBar
|
|||||||||||||||||
refresh | Method | ||||||||||||||||
Refreshes the widget.
None Code examples
Invoke the
Try it: refreshes
the jqxToolBar
|