Name | Type | Default |
---|---|---|
columnRenderer | (element?: Any, collapsedElement?: Any, column?: Any) => Void | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [columnRenderer]="columnRenderer"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
columns | Array<KanbanColumns> | null |
interface KanbanColumns {
text?: String; dataField?: String; maxItems?: Number; collapsible?: Boolean; collapseDirection?: KanbanCollapseDirection; headerElement?: Any; collapsedHeaderElement?: Any; iconClassName?: String; } Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
connectWith | String | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [connectWith]="'#jqxKanban2'"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
headerHeight | String | Number | 30 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [headerHeight]="50"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
headerWidth | Number | 30 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [headerWidth]="50"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
height | String | Number | 400 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
itemRenderer | (element?: Array<Any>, item?: Any, resource?: Any) => Void | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [itemRenderer]="itemRenderer"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
ready | () => Void | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [ready]="ready"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
rtl | Boolean | false |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [rtl]="true"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
source | Array<Any> | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
resources | Array<Any> | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [resources]="resources"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
template | String | '' |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [template]="template"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
templateContent | Any | null |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [templateContent]="templateContent"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
theme | String | '' |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns' [theme]="'energyblue'"> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
width | String | Number | 600 |
Sets or gets the import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { fields: any[] = [ { name: 'id', type: 'string' }, { name: 'status', map: 'state', type: 'string' }, { name: 'text', map: 'label', type: 'string' }, { name: 'tags', type: 'string' }, { name: 'color', map: 'hex', type: 'string' }, { name: 'resourceId', type: 'number' } ]; source: any = { localData: [ { state: 'new', label: 'Combine Orders', tags: 'orders, combine', hex: '#5dc3f0', resourceId: 3 }, { state: 'new', label: 'Change Billing Address', tags: 'billing', hex: '#f19b60', resourceId: 1 }, { state: 'new', label: 'One item added to the cart', tags: 'cart', hex: '#5dc3f0', resourceId: 3 } ], dataType: 'array', dataFields: this.fields }; dataAdapter: any = new jqx.dataAdapter(this.source); columns: any[] = [ { text: 'Backlog', dataField: 'new', maxItems: 10 } ]; } |
||
Events |
||
columnAttrClicked | Event | |
This event is triggered when jqxKanban column is clicked. Code examples
Bind to the
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban (onColumnAttrClicked)="ColumnAttrClicked($event)" [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { ColumnAttrClicked(event: any): void { // Do Something } |
||
columnCollapsed | Event | |
This event is triggered when jqxKanban column is collapsed. Code examples
Bind to the
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban (onColumnCollapsed)="ColumnCollapsed($event)" [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { ColumnCollapsed(event: any): void { // Do Something } |
||
columnExpanded | Event | |
This event is triggered when jqxKanban column is expanded. Code examples
Bind to the
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban (onColumnExpanded)="ColumnExpanded($event)" [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { ColumnExpanded(event: any): void { // Do Something } |
||
itemAttrClicked | Event | |
This event is triggered when some element of an item is clicked. Code examples
Bind to the
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban (onItemAttrClicked)="ItemAttrClicked($event)" [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { ItemAttrClicked(event: any): void { // Do Something } |
||
itemMoved | Event | |
This event is triggered when an item is moved. Code examples
Bind to the
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban (onItemMoved)="ItemMoved($event)" [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent { ItemMoved(event: any): void { // Do Something } |
||
Methods |
||
Name | Return Type | Arguments |
addItem | Void | newItem: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myKanban') myKanban: jqxKanbanComponent; |
||
destroy | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myKanban') myKanban: jqxKanbanComponent; |
||
getColumn | KanbanColumns | dataField: String |
interface KanbanColumns {
text?: String; dataField?: String; maxItems?: Number; collapsible?: Boolean; collapseDirection?: KanbanCollapseDirection; headerElement?: Any; collapsedHeaderElement?: Any; iconClassName?: String; } import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myKanban') myKanban: jqxKanbanComponent; |
||
getColumnItems | Array<KanbanSource> | dataField: String |
interface KanbanSource {
id?: Number; status?: String; text?: String; content?: Any; tags?: String; color?: String; resourceId?: Any; className?: String; } import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myKanban') myKanban: jqxKanbanComponent; |
||
getItems | KanbanSource | None |
interface KanbanSource {
id?: Number; status?: String; text?: String; content?: Any; tags?: String; color?: String; resourceId?: Any; className?: String; } import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myKanban') myKanban: jqxKanbanComponent; |
||
removeItem | Void | itemId: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myKanban') myKanban: jqxKanbanComponent; |
||
updateItem | Void |
itemId: String, newContent: KanbanUpdateItem |
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxKanban #myKanban [width]='"100%"' [height]='"100%"' [source]='dataAdapter' [columns]='columns'> </jqxKanban> ` }) export class AppComponent implements AfterViewInit { @ViewChild('myKanban') myKanban: jqxKanbanComponent; |