Name | Type | Default | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
contextMenu | Boolean | false | ||||||||||||||||||||||||
(Requires jqxmenu.js.) Sets or gets wheter a custom context menu will appear when certain elements of the widget are right-clicked. Code example
Set the
Get the
Try it: contextMenu is set to true
|
||||||||||||||||||||||||||
height | Number/String | null | ||||||||||||||||||||||||
Sets or gets the docking layout's height. Code examples
Set the
Get the
Try it: height is set to 800
|
||||||||||||||||||||||||||
layout | Array | [] | ||||||||||||||||||||||||
Sets or gets the layout. This property determines the position of the docking layout elements and their characteristics. The first member of the layout array should always be an item of type 'layoutGroup'. Each object in the layout array can have the following properties, with some restrictions based on the type :
Code examples
Set the
Get the
Try it:
layout is set to a custom array
|
||||||||||||||||||||||||||
minGroupHeight | Number | 100 | ||||||||||||||||||||||||
Sets the default minimumn height for groups which are vertically aligned within their parent group. Code examples
Set the
Get the
Try it:
minGroupHeight is set to 200
|
||||||||||||||||||||||||||
minGroupWidth | Number | 100 | ||||||||||||||||||||||||
Sets the default minimumn width for groups which are horizontally aligned within their parent group. Code examples
Set the
Get the
Try it:
minGroupWidth is set to 150
|
||||||||||||||||||||||||||
resizable | Boolean | true | ||||||||||||||||||||||||
Sets or gets wheter panels can be dynamically resized. Code example
Set the
Get the
Try it:
resizable is set to false
|
||||||||||||||||||||||||||
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'
|
||||||||||||||||||||||||||
width | Number/String | null | ||||||||||||||||||||||||
Sets or gets the docking layout's width. Code examples
Set the
Get the
Try it:
width is set to 800
|
||||||||||||||||||||||||||
Events |
||||||||||||||||||||||||||
create | Event | |||||||||||||||||||||||||
This event is triggered when the widget is created. Note: The create event binding has to be made before the jqxDockingLayout's initialization. Code examples
Bind to the
|
||||||||||||||||||||||||||
dock | Event | |||||||||||||||||||||||||
This event is triggered when a floatGroup has been docked. Code examples
Bind to the
|
||||||||||||||||||||||||||
floatGroupClosed | Event | |||||||||||||||||||||||||
This event is triggered when a floatGroup has been closed. Code examples
Bind to the
|
||||||||||||||||||||||||||
float | Event | |||||||||||||||||||||||||
This event is triggered when a group or panel has been floated. Code examples
Bind to the
|
||||||||||||||||||||||||||
pin | Event | |||||||||||||||||||||||||
This event is triggered when a group has been pinned. Code examples
Bind to the
|
||||||||||||||||||||||||||
resize | Event | |||||||||||||||||||||||||
This event is triggered when a group has been resized (when the group has been resized with the mouse or when an adjacent group has been pinned, unpinned or closed). Code examples
Bind to the
|
||||||||||||||||||||||||||
unpin | Event | |||||||||||||||||||||||||
This event is triggered when a group has been unpinned. Code examples
Bind to the
|
||||||||||||||||||||||||||
Methods |
||||||||||||||||||||||||||
addFloatGroup | Method | |||||||||||||||||||||||||
Adds a new floatGroup.
None Code examples
Invoke the
Try it: add a new floatGroup
|
||||||||||||||||||||||||||
destroy | Method | |||||||||||||||||||||||||
Destroys the widget.
None Code examples
Invoke the
Try it:
destroy the widget
|
||||||||||||||||||||||||||
loadLayout | Method | |||||||||||||||||||||||||
Loads a previously saved layout.
None Code examples
Invoke the
Try it:
load a previously saved layout
|
||||||||||||||||||||||||||
refresh | Method | |||||||||||||||||||||||||
Refreshes the widget.
None Code examples
Invoke the
Try it:
refresh the widget
|
||||||||||||||||||||||||||
render | Method | |||||||||||||||||||||||||
Renders the widget.
None Code examples
Invoke the
Try it:
render the widget
|
||||||||||||||||||||||||||
saveLayout | Method | |||||||||||||||||||||||||
Saves the current layout of the widget. The object returned by this method can be passed to the method loadLayout.
Object Code examples
Invoke the
Try it:
saves the widget's layout
|