Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147650 | Sep 18,2019 04:06 PM UTC | Sep 20,2019 08:51 AM UTC | Angular - EJ 2 | 3 |
![]() |
Tags: MultiSelectDropdown |
<ejs-multiselect id='multiselect-checkbox' #muliselect [dataSource]='vegetables' [fields]='checkFields'
[showClearButton]="true" [mode]='mode' [showSelectAll]='false' [enableGroupCheckBox]='enableGroupCheckBox'>
<ng-template #footerTemplate="" let-data="">
<button ejs-button cssClass="btn-flat" (click)="unClear($event)">clear</button>
</ng-template>
</ejs-multiselect>
public unClear(args){
this.mulObj.selectAll(false);
} |
<ejs-multiselect id='multiselect-checkbox' #muliselect [dataSource]='vegetables' [fields]='checkFields'
[showClearButton]="true" [mode]='mode' [showSelectAll]='false' [enableGroupCheckBox]='enableGroupCheckBox'>
<ng-template #footerTemplate="" let-data="">
<button ejs-button class="e-selectall-parent" cssClass="btn-flat" (click)="unClear($event)">clear</button>
</ng-template>
</ejs-multiselect>
// To unselect all item needs to pass the boolean value as false in selectAllItems
public unClear(e){
(this.mulObj as any).selectAllItems(false,e);
} |
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.