Name | Type | Default |
animationType
|
enum:ComboBoxAnimationType
|
'slide'
|
enum ComboBoxAnimationType { fade, slide, none } Sets or gets the animationType property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [animationType]="'fade'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
autoComplete
|
Boolean
|
false
|
Sets or gets the autoComplete property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [autoComplete]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
autoOpen
|
Boolean
|
false
|
Sets or gets the autoOpen property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [autoOpen]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
autoItemsHeight
|
Boolean
|
false
|
Sets or gets the autoItemsHeight property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [autoItemsHeight]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
autoDropDownHeight
|
Boolean
|
false
|
Sets or gets the autoDropDownHeight property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [autoDropDownHeight]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
closeDelay
|
Number
|
400
|
Sets or gets the closeDelay property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [closeDelay]="2000">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
checkboxes
|
Boolean
|
false
|
Sets or gets the checkboxes property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [checkboxes]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
disabled
|
Boolean
|
false
|
Sets or gets the disabled property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [disabled]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
displayMember
|
String
|
""
|
Sets or gets the displayMember property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [displayMember]="'text'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
dropDownHorizontalAlignment
|
enum:ComboBoxDropDownHorizontalAlignment
|
'left'
|
enum ComboBoxDropDownHorizontalAlignment { left, right } Sets or gets the dropDownHorizontalAlignment property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [dropDownHorizontalAlignment]="'right'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
dropDownVerticalAlignment
|
enum:ComboBoxDropDownVerticalAlignment
|
'bottom'
|
enum ComboBoxDropDownVerticalAlignment { top, bottom } Sets or gets the dropDownVerticalAlignment property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [dropDownVerticalAlignment]="'top'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
dropDownHeight
|
Size
|
200
|
Sets or gets the dropDownHeight property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [dropDownHeight]="300">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
dropDownWidth
|
Size
|
200
|
Sets or gets the dropDownWidth property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [dropDownWidth]="300">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
enableHover
|
Boolean
|
true
|
Sets or gets the enableHover property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [enableHover]="false">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
enableSelection
|
Boolean
|
true
|
Sets or gets the enableSelection property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [enableSelection]="false">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
enableBrowserBoundsDetection
|
Boolean
|
false
|
Sets or gets the enableBrowserBoundsDetection property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [enableBrowserBoundsDetection]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
height
|
Size
|
null
|
Sets or gets the height property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
itemHeight
|
Number
|
-1
|
Sets or gets the itemHeight property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [itemHeight]="25">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
multiSelect
|
Boolean
|
false
|
Sets or gets the multiSelect property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [multiSelect]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
minLength
|
Number
|
2
|
Sets or gets the minLength property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [minLength]="2">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
openDelay
|
Number
|
350
|
Sets or gets the openDelay property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [openDelay]="2000">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
popupZIndex
|
Number
|
20000
|
Sets or gets the popupZIndex property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [popupZIndex]="2000">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
placeHolder
|
String
|
""
|
Sets or gets the placeHolder property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [placeHolder]="'Text'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
remoteAutoComplete
|
Boolean
|
false
|
Sets or gets the remoteAutoComplete property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [remoteAutoComplete]="true" [remoteAutoCompleteDelay]="200">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
remoteAutoCompleteDelay
|
Number
|
300
|
Sets or gets the remoteAutoCompleteDelay property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [remoteAutoComplete]="true" [remoteAutoCompleteDelay]="200">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
renderer
|
(index:Number, label?:String, value?:Any) => String
|
null
|
Sets or gets the renderer property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [renderer]="renderer">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
renderSelectedItem
|
(index:Number, item?:Any) => String
|
null
|
Sets or gets the renderSelectedItem property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [renderSelectedItem]="renderSelectedItem">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
rtl
|
Boolean
|
false
|
Sets or gets the rtl property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [rtl]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
selectedIndex
|
Number
|
-1
|
Sets or gets the selectedIndex property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [selectedIndex]="0">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
showArrow
|
Boolean
|
true
|
Sets or gets the showArrow property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [showArrow]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
showCloseButtons
|
Boolean
|
true
|
Sets or gets the showCloseButtons property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [showCloseButtons]="true">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
searchMode
|
enum:ComboBoxSearchMode
|
startswith
|
enum ComboBoxSearchMode { none, contains, containsignorecase, equals, equalsignorecase, startswithignorecase, startswith, endswithignorecase, endswith } Sets or gets the searchMode property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [searchMode]="'contains'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
search
|
(searchString:String) => Void
|
null
|
Sets or gets the search property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [search]="search">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
source
|
Array<Any>
|
null
|
Sets or gets the source property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
scrollBarSize
|
Size
|
17
|
Sets or gets the scrollBarSize property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [scrollBarSize]="10">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
template
|
enum:ComboBoxTemplate
|
'default'
|
enum ComboBoxTemplate { default, primary, success, warning, danger, info } Sets or gets the template property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [template]="'success'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
theme
|
String
|
''
|
Sets or gets the theme property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [theme]="'energyblue'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
validateSelection
|
(itemValue:String) => Boolean
|
null
|
Sets or gets the validateSelection property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [validateSelection]="validateSelection">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
valueMember
|
String
|
""
|
Sets or gets the valueMember property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25" [valueMember]="'value'">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
width
|
Size
|
null
|
Sets or gets the width property.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
|
bindingComplete
|
Event
|
|
This event is triggered when the data binding operation is completed.
Code examples
Bind to the bindingComplete event of jqxComboBox.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox (onBindingComplete)="BindingComplete($event)"
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
BindingComplete(event: any): void
{
// Do Something
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
checkChange
|
Event
|
|
This event is triggered when an item is checked/unchecked.
Code examples
Bind to the checkChange event of jqxComboBox.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox (onCheckChange)="CheckChange($event)"
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
CheckChange(event: any): void
{
// Do Something
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
close
|
Event
|
|
This event is triggered when the popup ListBox is closed.
Code examples
Bind to the close event of jqxComboBox.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox (onClose)="Close($event)"
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
Close(event: any): void
{
// Do Something
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
change
|
Event
|
|
This event is triggered when the user selects an item.
Code examples
Bind to the change event of jqxComboBox.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox (onChange)="Change($event)"
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
Change(event: any): void
{
// Do Something
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
open
|
Event
|
|
This event is triggered when the popup ListBox is opened.
Code examples
Bind to the open event of jqxComboBox.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox (onOpen)="Open($event)"
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
Open(event: any): void
{
// Do Something
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
select
|
Event
|
|
This event is triggered when the user selects an item.
Code examples
Bind to the select event of jqxComboBox.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox (onSelect)="Select($event)"
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
Select(event: any): void
{
// Do Something
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
unselect
|
Event
|
|
This event is triggered when the user unselects an item.
Code examples
Bind to the unselect event of jqxComboBox.
import { Component } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox (onUnselect)="Unselect($event)"
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent {
Unselect(event: any): void
{
// Do Something
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
|
Name | Return Type | Arguments |
addItem
|
Boolean
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.addItem('item');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
clearSelection
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.clearSelection();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
clear
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.clear();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
close
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.close();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
checkIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.checkIndex(0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
checkItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.checkItem('Item1');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
checkAll
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.checkAll();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
destroy
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.destroy();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
disableItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.disableItem('Item1');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
disableAt
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.disableAt(0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
enableItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.enableItem('Item1');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
enableAt
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.enableAt(0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
ensureVisible
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.ensureVisible(10);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
focus
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.focus();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
getItem
|
Any
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.getItem();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
getItemByValue
|
Any
|
value: String
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.getItemByValue('Item1');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
getVisibleItems
|
Array<Any>
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.getVisibleItems();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
getItems
|
Array<Any>
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.getItems();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
getCheckedItems
|
Array<Any>
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.getCheckedItems();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
getSelectedItem
|
Any
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.getSelectedItem();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
getSelectedItems
|
Array<Any>
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.getSelectedItems();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
getSelectedIndex
|
Number
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.getSelectedIndex();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
insertAt
|
Boolean
|
item: Any, index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.insertAt('Item1',0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
isOpened
|
Boolean
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.isOpened();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
indeterminateIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.indeterminateIndex(0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
indeterminateItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.indeterminateItem('Item1',0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
loadFromSelect
|
Void
|
selectTagId: String
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.loadFromSelect('id');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
open
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.open();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
removeItem
|
Boolean
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.removeItem('Item1');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
removeAt
|
Boolean
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.removeAt(0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
selectIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.selectIndex(0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
selectItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.selectItem('Item1');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
searchString
|
String
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.searchString();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
updateItem
|
Void
|
item: Any, itemValue: String
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.updateItem('Item1','New Item');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
updateAt
|
Void
|
item: Any, index: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.updateAt('Item1',0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
unselectIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.unselectIndex(0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
unselectItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.unselectItem('Item1');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
uncheckIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.uncheckIndex(0);
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
uncheckItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.uncheckItem('Item1');
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
uncheckAll
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
this.myComboBox.uncheckAll();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|
val
|
String
|
value: String
|
import { Component, ViewChild, AfterViewInit } from "@angular/core";
@Component({
selector: "app-root",
template: `
<jqxComboBox #myComboBox
[source]="countries" [width]="200" [height]="25">
</jqxComboBox>
`
})
export class AppComponent implements AfterViewInit {
@ViewChild('myComboBox') myComboBox: jqxComboBoxComponent;
ngAfterViewInit(): void
{
let value = this.myComboBox.val();
}
countries: any[] = [
{ value: 'DE', label: 'Germany' },
{ value: 'UK', label: 'United Kingdom' },
{ value: 'US', label: 'United States' }
];
}
|