| Name | Type | Default |
|---|---|---|
| animationShowDuration | Number | 350 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [animationShowDuration]="1000">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| animationHideDuration | Number | fast |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [animationHideDuration]="1000">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| allowDrag | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [allowDrop]="true" [allowDrag]="true">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| allowDrop | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [allowDrop]="true" [allowDrag]="true">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| checkboxes | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [checkboxes]="true">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| dragStart | (item: Any) => Boolean | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [dragStart]="dragStart">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| dragEnd | (dragItem?: Any, dropItem?: Any, args?: Any, dropPosition?: Any, tree?: Any) => Boolean | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [dragEnd]="dragEnd">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| disabled | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [disabled]="true">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| easing | String | 'easeInOutCirc' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [easing]="'easeInOutCirc'">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| enableHover | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [enableHover]="false">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| height | String | Number | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [height]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| hasThreeStates | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [hasThreeStates]="true">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| incrementalSearch | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [incrementalSearch]="true">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| keyboardNavigation | Boolean | true |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [keyboardNavigation]="false">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| rtl | Boolean | false |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [rtl]="true">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| selectedItem | Any | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [selectedItem]="selectedItem">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| source | Any | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [source]="source">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| toggleIndicatorSize | Number | 16 |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [toggleIndicatorSize]="20">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| toggleMode | enum:TreeToggleMode | dblclick |
|
enum TreeToggleMode {
click, dblclick } Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [toggleMode]="'click'">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| theme | String | '' |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300" [theme]="'energyblue'">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
| width | String | Number | null |
|
Sets or gets the import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
}
|
||
Events |
||
| added | Event | |
|
This event is triggered when the user adds a new tree item. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onAdded)="Added($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
Added(event: any): void
{
// Do Something
}
|
||
| checkChange | Event | |
|
This event is triggered when the user checks, unchecks or the checkbox is in indeterminate state. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onCheckChange)="CheckChange($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
CheckChange(event: any): void
{
// Do Something
}
|
||
| collapse | Event | |
|
This event is triggered when the user collapses a tree item. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onCollapse)="Collapse($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
Collapse(event: any): void
{
// Do Something
}
|
||
| dragStart | Event | |
|
This event is triggered when the user starts a drag operation. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onDragStart)="DragStart($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
DragStart(event: any): void
{
// Do Something
}
|
||
| dragEnd | Event | |
|
This event is triggered when the user drops an item. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onDragEnd)="DragEnd($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
DragEnd(event: any): void
{
// Do Something
}
|
||
| expand | Event | |
|
This event is triggered when the user expands a tree item. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onExpand)="Expand($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
Expand(event: any): void
{
// Do Something
}
|
||
| initialized | Event | |
|
This event is triggered when the jqxTree is created and initialized. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onInitialized)="Initialized($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
Initialized(event: any): void
{
// Do Something
}
|
||
| itemClick | Event | |
|
This event is triggered when the user clicks a tree item. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onItemClick)="ItemClick($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
ItemClick(event: any): void
{
// Do Something
}
|
||
| removed | Event | |
|
This event is triggered when the user removes a tree item. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onRemoved)="Removed($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
Removed(event: any): void
{
// Do Something
}
|
||
| select | Event | |
|
This event is triggered when the user selects a tree item. Code examples
Bind to the
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree(onSelect)="Select($event)"
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent {
Select(event: any): void
{
// Do Something
}
|
||
Methods |
||
| Name | Return Type | Arguments |
| addBefore | Void |
item: Any, id: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| addAfter | Void |
item: Any, id: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| addTo | Void |
item: Any, id: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| clear | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| checkAll | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| checkItem | Void |
item: Any, checked: Boolean |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| collapseAll | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| collapseItem | Void | item: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| destroy | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| disableItem | Void | item: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| ensureVisible | Void | item: Object |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| enableItem | Void | item: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| enableAll | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| expandAll | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| expandItem | Void | item: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| focus | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| getCheckedItems | Array<TreeItem> | None |
|
interface TreeItem {
label?: String; value?: String; disabled?: Boolean; checked?: Boolean; element?: Any; parentElement?: Any; isExpanded?: Boolean; selected?: Boolean; } import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| getUncheckedItems | Array<TreeItem> | None |
|
interface TreeItem {
label?: String; value?: String; disabled?: Boolean; checked?: Boolean; element?: Any; parentElement?: Any; isExpanded?: Boolean; selected?: Boolean; } import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| getItems | Array<TreeItem> | None |
|
interface TreeItem {
label?: String; value?: String; disabled?: Boolean; checked?: Boolean; element?: Any; parentElement?: Any; isExpanded?: Boolean; selected?: Boolean; } import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| getItem | TreeItem | element: Any |
|
interface TreeItem {
label?: String; value?: String; disabled?: Boolean; checked?: Boolean; element?: Any; parentElement?: Any; isExpanded?: Boolean; selected?: Boolean; } import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| getSelectedItem | TreeItem | None |
|
interface TreeItem {
label?: String; value?: String; disabled?: Boolean; checked?: Boolean; element?: Any; parentElement?: Any; isExpanded?: Boolean; selected?: Boolean; } import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| getPrevItem | TreeItem | None |
|
interface TreeItem {
label?: String; value?: String; disabled?: Boolean; checked?: Boolean; element?: Any; parentElement?: Any; isExpanded?: Boolean; selected?: Boolean; } import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| getNextItem | TreeItem | None |
|
interface TreeItem {
label?: String; value?: String; disabled?: Boolean; checked?: Boolean; element?: Any; parentElement?: Any; isExpanded?: Boolean; selected?: Boolean; } import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| hitTest | Any |
left: Number, top: Number |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| removeItem | Void | item: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| render | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| refresh | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| selectItem | Void | item: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| uncheckAll | Void | None |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| uncheckItem | Void | item: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| updateItem | Void |
item: Any, newItem: Any |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||
| val | String | value: String |
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxTree #myTree
[width]="300">
<ul>
<li id='home'>Home</li>
<li item-expanded='true'>
Solutions
<ul>
<li>Education</li>
<li>Financial services</li>
<li>
Solutions
<ul>
<li>Consumer photo and video</li>
<li>Mobile</li>
</ul>
</li>
<li>All industries and solutions</li>
</ul>
</li>
<li>
Products
<ul>
<li>PC products</li>
<li>Mobile products</li>
</ul>
</li>
<li>
Communities
<ul>
<li>Designers</li>
<li>Developers</li>
<li>
By resource
<ul>
<li>Labs</li>
<li>TV</li>
</ul>
</li>
</ul>
</li>
</ul>
</jqxTree>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myTree') myTree: jqxTreeComponent; |
||