Name | Type | Default | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
columnRenderer | Function | null | |||||||||
Sets or gets a custom rendering function for jqxKanban's columns. Code examples
|
|||||||||||
columns | Array | null | |||||||||
Sets or gets the jqxKanban columns. Code examples
Column Properties:
Try it: columns is set to columns array.
|
|||||||||||
connectWith | String | null | |||||||||
Sets a connection to another jqxKanban widget. As a selector is used the id of the widget. Code examples
Set the
Get the
|
|||||||||||
headerHeight | Number | 30 | |||||||||
Sets or gets the height of the jqxKanban column headers when columns are expanded. Code examples
Set the
Get the
Try it: headerHeight is set to 30
|
|||||||||||
headerWidth | Number | 30 | |||||||||
Sets or gets the width of the jqxKanban column headers when columns are collapsed. Possible Values:Code example
Set the
Get the
Try it: headerWidth is set to 50
|
|||||||||||
height | Number | 400 | |||||||||
Sets or gets the kanban's height. Code examples
Set the
Get the
Try it: height is set to 500
|
|||||||||||
itemRenderer | Function | null | |||||||||
This function is called when an item is being rendered. Code examples
Set the
Get the
|
|||||||||||
ready | Function | null | |||||||||
This function is called when the jqxKanban is initialized and the binding is completed. Code examples
Set the
Get the
|
|||||||||||
rtl | Boolean | false | |||||||||
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts. Code examples
Set the
Get the
Try it: rtl is set to true
|
|||||||||||
source | Array/Object | null | |||||||||
The source object represents a set of key/value pairs. Every set is a jqxKanban item. Code examples
Set the
Source item Properties:
Get the
|
|||||||||||
resources | Array/Object | null | |||||||||
The resources object represents a set of key/value pairs. It contains information about items, associated to the jqxKanban cards. Code examples
Set the
Resource item Properties:
Get the
|
|||||||||||
template | String | false | |||||||||
Sets or gets new HTML structure about kanban's cards. Code example
Set the
Get the
|
|||||||||||
templateContent | Object | null | |||||||||
Sets or gets the default values about kanban's cards. Code examples
Set the
Get the
|
|||||||||||
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 'arctic'
|
|||||||||||
width | Number | 600 | |||||||||
Sets or gets the kanban's width. Code examples
Set the
Get the
Try it: width is set to 600
|
|||||||||||
Events |
|||||||||||
columnAttrClicked | Event | ||||||||||
This event is triggered when jqxKanban column is clicked. Code examples
Bind to the
|
|||||||||||
columnCollapsed | Event | ||||||||||
This event is triggered when jqxKanban column is collapsed. Code examples
Bind to the
|
|||||||||||
columnExpanded | Event | ||||||||||
This event is triggered when jqxKanban column is expanded. Code examples
Bind to the
|
|||||||||||
itemAttrClicked | Event | ||||||||||
This event is triggered when some element of an item is clicked. Code examples
Bind to the
|
|||||||||||
itemMoved | Event | ||||||||||
This event is triggered when an item is moved. Code examples
Bind to the
|
|||||||||||
Methods |
|||||||||||
addItem | Method | ||||||||||
Add new item in widget.
None Code examples
Invoke the
Try it: add new item
|
|||||||||||
destroy | Method | ||||||||||
Add new item in widget.
None Code examples
Invoke the
Try it: destroys the jqxKanban
|
|||||||||||
getColumn | Method | ||||||||||
Returs all items as an array of objects.
Object Column Properties:
Code examples
Invoke the
Try it: get the column
|
|||||||||||
getColumnItems | Method | ||||||||||
Returs all items as an array of objects.
Array The content of the each jqxKanban item in the Array. item.status - String, item.text - String, item.content - String, item.tags - String, item.color - String, item.resourceId - Number, item.className - String Code examples
Invoke the
Try it: get the items
|
|||||||||||
getItems | Method | ||||||||||
Returs all items as an array of objects.
Array The content of the each jqxKanban item in the Array. item.status - String, item.text - String, item.content - String, item.tags - String, item.color - String, item.resourceId - Number, item.className - String Code examples
Invoke the
Try it: get the items
|
|||||||||||
removeItem | Method | ||||||||||
Removes an item.
None Code examples
Invoke the
Try it: removes an item
|
|||||||||||
updateItem | Method | ||||||||||
Update an item.
None Code examples
Invoke the
Try it: update an item
|