Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144107 | Apr 18,2019 03:42 PM UTC | Apr 24,2019 05:50 AM UTC | Angular - EJ 2 | 1 |
![]() |
Tags: Grid |
<ejs-grid #grid [dataSource]='data' allowPaging='true' allowFiltering='true' [pageSettings]="pageOptions">
<e-columns>
<e-column field='ProductName' headerText='Product Name' width='150'>
<ng-template #filterTemplate let-data>
<ejs-multiselect id='actionsMultiselectFilter' #multi [mode]="actionsSelectMode" [enabled]="true" (change)=onActionMultiselectFilterChange($event)
[dataSource]='actionsData' [fields]='actionsFields' [placeholder]="actionsPlaceholder" (open)='onOpen($event)' (close)='onClose($event)'>
</ejs-multiselect>
</ng-template>
</e-column>
</e-columns>
</ejs-grid>
|
onOpen(e) {
if (this.mulObj.element.parentElement.getAttribute('tabindex') === '-1') {
this.mulObj.element.parentElement.setAttribute('tabindex', '0');
}
}
onClose(e){
if (this.mulObj.element.parentElement.getAttribute('tabindex') === '0') {
this.mulObj.element.parentElement.setAttribute('tabindex', '-1');
e.cancel = true;
}
}
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.