Name | Type | Default |
autoOpen
|
Boolean
|
false
|
Sets or gets the autoOpen property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [autoOpen]="true"> </jqxDropDownList> `}) export class AppComponent {
|
autoDropDownHeight
|
Boolean
|
false
|
Sets or gets the autoDropDownHeight property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [autoDropDownHeight]="true"> </jqxDropDownList> `}) export class AppComponent {
|
animationType
|
enum:DropDownListAnimationType
|
'slide'
|
enum DropDownListAnimationType { none, slide, fade } Sets or gets the animationType property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [animationType]="'fade'"> </jqxDropDownList> `}) export class AppComponent {
|
checkboxes
|
Boolean
|
false
|
Sets or gets the checkboxes property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [checkboxes]="true"> </jqxDropDownList> `}) export class AppComponent {
|
closeDelay
|
Number
|
400
|
Sets or gets the closeDelay property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [closeDelay]="200"> </jqxDropDownList> `}) export class AppComponent {
|
disabled
|
Boolean
|
false
|
Sets or gets the disabled property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [disabled]="true"> </jqxDropDownList> `}) export class AppComponent {
|
displayMember
|
String
|
""
|
Sets or gets the displayMember property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [valueMember]="'value'" [displayMemer]="'label'"> </jqxDropDownList> `}) export class AppComponent {
|
dropDownHorizontalAlignment
|
enum:DropDownListHorizontalAlignment
|
'left'
|
enum DropDownListHorizontalAlignment { left, right } Sets or gets the dropDownHorizontalAlignment property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [dropDownHorizontalAlignment]="'right'"> </jqxDropDownList> `}) export class AppComponent {
|
dropDownVerticalAlignment
|
enum:DropDownListVerticalAlignment
|
'bottom'
|
enum DropDownListVerticalAlignment { bottom, top } Sets or gets the dropDownVerticalAlignment property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [dropDownVerticalAlignment]="'top'"> </jqxDropDownList> `}) export class AppComponent {
|
dropDownHeight
|
Number | String
|
200
|
Sets or gets the dropDownHeight property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [dropDownHeight]="200"> </jqxDropDownList> `}) export class AppComponent {
|
dropDownWidth
|
Number | String
|
200
|
Sets or gets the dropDownWidth property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [dropDownWidth]="210"> </jqxDropDownList> `}) export class AppComponent {
|
enableSelection
|
Boolean
|
true
|
Sets or gets the enableSelection property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [enableSelection]="true"> </jqxDropDownList> `}) export class AppComponent {
|
enableBrowserBoundsDetection
|
Boolean
|
false
|
Sets or gets the enableBrowserBoundsDetection property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [enableBrowserBoundsDetection]="true"> </jqxDropDownList> `}) export class AppComponent {
|
enableHover
|
Boolean
|
true
|
Sets or gets the enableHover property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [enableHover]="true"> </jqxDropDownList> `}) export class AppComponent {
|
filterable
|
Boolean
|
false
|
Sets or gets the filterable property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [filterable]="true"> </jqxDropDownList> `}) export class AppComponent {
|
filterHeight
|
Number
|
27
|
Sets or gets the filterHeight property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [filterHeight]="30" [filterable]="true"> </jqxDropDownList> `}) export class AppComponent {
|
filterDelay
|
Number
|
100
|
Sets or gets the filterDelay property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [filterDelay]="200" [filterable]="true"> </jqxDropDownList> `}) export class AppComponent {
|
filterPlaceHolder
|
String
|
"Looking for"
|
Sets or gets the filterPlaceHolder property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [filterable]="true" [filterPlaceHolder]="'Filtering...'"> </jqxDropDownList> `}) export class AppComponent {
|
height
|
Number | String
|
null
|
Sets or gets the height property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent {
|
incrementalSearch
|
Boolean
|
true
|
Sets or gets the incrementalSearch property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [incrementalSearch]="false"> </jqxDropDownList> `}) export class AppComponent {
|
incrementalSearchDelay
|
Number
|
700
|
Sets or gets the incrementalSearchDelay property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [incrementalSearchDelay]="200"> </jqxDropDownList> `}) export class AppComponent {
|
itemHeight
|
Number | String
|
-1
|
Sets or gets the itemHeight property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [itemHeight]="30"> </jqxDropDownList> `}) export class AppComponent {
|
openDelay
|
Number
|
350
|
Sets or gets the openDelay property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [openDelay]="2000"> </jqxDropDownList> `}) export class AppComponent {
|
placeHolder
|
String
|
"Please Choose:"
|
Sets or gets the placeHolder property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [placeHolder]="'Select'"> </jqxDropDownList> `}) export class AppComponent {
|
popupZIndex
|
Number
|
20000
|
Sets or gets the popupZIndex property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [popupZIndex]="20000"> </jqxDropDownList> `}) export class AppComponent {
|
rtl
|
Boolean
|
false
|
Sets or gets the rtl property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [rtl]="true"> </jqxDropDownList> `}) export class AppComponent {
|
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: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [renderer]="renderer"> </jqxDropDownList> `}) export class AppComponent {
|
selectionRenderer
|
(object?: Any, index?: Number, label?: String) => String
|
null
|
Sets or gets the selectionRenderer property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [selectionRenderer]="selectionRenderer"> </jqxDropDownList> `}) export class AppComponent {
|
searchMode
|
enum:DropDownListSearchMode
|
startswith
|
enum DropDownListSearchMode { 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: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [searchMode]="'startswith'"> </jqxDropDownList> `}) export class AppComponent {
|
scrollBarSize
|
Number | String
|
17
|
Sets or gets the scrollBarSize property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [scrollBarSize]="15"> </jqxDropDownList> `}) export class AppComponent {
|
source
|
Array<Any>
|
null
|
Sets or gets the source property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent {
|
selectedIndex
|
Number
|
-1
|
Sets or gets the selectedIndex property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent {
|
theme
|
String
|
''
|
Sets or gets the theme property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [theme]="'energyblue'"> </jqxDropDownList> `}) export class AppComponent {
|
template
|
String
|
''
|
Sets or gets the template property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [template]="'success'"> </jqxDropDownList> `}) export class AppComponent {
|
valueMember
|
String
|
""
|
Sets or gets the valueMember property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1" [valueMember]="'value'" [displayMemer]="'label'"> </jqxDropDownList> `}) export class AppComponent {
|
width
|
Number | String
|
null
|
Sets or gets the width property.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent {
|
|
bindingComplete
|
Event
|
|
This event is triggered when the data binding operation is completed.
Code examples
Bind to the bindingComplete event of jqxDropDownList.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList (onBindingComplete)="BindingComplete($event)" [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent { BindingComplete(event: any): void
|
close
|
Event
|
|
This event is triggered when the popup ListBox is closed.
Code examples
Bind to the close event of jqxDropDownList.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList (onClose)="Close($event)" [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent {
|
checkChange
|
Event
|
|
This event is triggered when an item is checked/unchecked.
Code examples
Bind to the checkChange event of jqxDropDownList.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList (onCheckChange)="CheckChange($event)" [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent { CheckChange(event: any): void
|
change
|
Event
|
|
This event is triggered when the user selects an item.
Code examples
Bind to the change event of jqxDropDownList.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList (onChange)="Change($event)" [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent {
|
open
|
Event
|
|
This event is triggered when the popup ListBox is opened.
Code examples
Bind to the open event of jqxDropDownList.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList (onOpen)="Open($event)" [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent {
|
select
|
Event
|
|
This event is triggered when the user selects an item.
Code examples
Bind to the select event of jqxDropDownList.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList (onSelect)="Select($event)" [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent {
|
unselect
|
Event
|
|
This event is triggered when the user unselects an item.
Code examples
Bind to the unselect event of jqxDropDownList.
import { Component } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList (onUnselect)="Unselect($event)" [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent { Unselect(event: any): void
|
|
Name | Return Type | Arguments |
addItem
|
Boolean
|
item: DropDownListItem
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.addItem( 'Item1');
|
clearSelection
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.clearSelection();
|
clear
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.clear();
|
close
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.close();
|
checkIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.checkIndex(0);
|
checkItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.checkItem( 'Item1');
|
checkAll
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.checkAll();
|
clearFilter
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.clearFilter();
|
destroy
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.destroy();
|
disableItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.disableItem( 'Item1');
|
disableAt
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.disableAt(0);
|
enableItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.enableItem( 'Item1');
|
enableAt
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.enableAt(10);
|
ensureVisible
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.ensureVisible(10);
|
focus
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.focus();
|
getItem
|
DropDownListItem
|
index: Number
|
interface DropDownListItem { label?: String; value?: Any; disabled?: Boolean; checked?: Any; hasThreeStates?: Boolean; html?: String; group?: String; } import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.getItem();
|
getItemByValue
|
DropDownListItem
|
itemValue: String
|
interface DropDownListItem { label?: String; value?: Any; disabled?: Boolean; checked?: Any; hasThreeStates?: Boolean; html?: String; group?: String; } import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.getItemByValue();
|
getItems
|
Array<DropDownListItem>
|
None
|
interface DropDownListItem { label?: String; value?: Any; disabled?: Boolean; checked?: Any; hasThreeStates?: Boolean; html?: String; group?: String; } import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.getItems();
|
getCheckedItems
|
Array<DropDownListItem>
|
None
|
interface DropDownListItem { label?: String; value?: Any; disabled?: Boolean; checked?: Any; hasThreeStates?: Boolean; html?: String; group?: String; } import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.getCheckedItems();
|
getSelectedItem
|
DropDownListItem
|
None
|
interface DropDownListItem { label?: String; value?: Any; disabled?: Boolean; checked?: Any; hasThreeStates?: Boolean; html?: String; group?: String; } import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.getSelectedItem();
|
getSelectedIndex
|
Number
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.getSelectedIndex();
|
insertAt
|
Void
|
item: DropDownListItem, index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.insertAt( 'Item1',0);
|
isOpened
|
Boolean
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.isOpened();
|
indeterminateIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.indeterminateIndex(0);
|
indeterminateItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.indeterminateItem( 'Item1');
|
loadFromSelect
|
Void
|
arg: String
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.loadFromSelect( 'select');
|
open
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.open();
|
removeItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.removeItem( 'Item1');
|
removeAt
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.removeAt(1);
|
selectIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.selectIndex(1);
|
selectItem
|
Void
|
item: DropDownListItem
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.selectItem( 'Item1');
|
setContent
|
Void
|
content: String
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.setContent( 'Item1');
|
updateItem
|
Void
|
newItem: DropDownListItem, item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.updateItem( 'Item1','New Item');
|
updateAt
|
Void
|
item: DropDownListItem, index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.updateAt( 'Item1',0);
|
unselectIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.unselectIndex(1);
|
unselectItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.unselectItem( 'item');
|
uncheckIndex
|
Void
|
index: Number
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.uncheckIndex(1);
|
uncheckItem
|
Void
|
item: Any
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.uncheckItem( 'Item1');
|
uncheckAll
|
Void
|
None
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { this.myDropDownList.uncheckAll();
|
val
|
String
|
value: String
|
import { Component, ViewChild, AfterViewInit } from "@angular/core"; @Component({ selector: "app-root", template: ` <jqxDropDownList #myDropDownList [width]="200" [height]="25" [source]="source" [selectedIndex]="1"> </jqxDropDownList> `}) export class AppComponent implements AfterViewInit { @ViewChild( 'myDropDownList') myDropDownList: jqxDropDownListComponent; ngAfterViewInit(): void { let value = this.myDropDownList.val();
|