Posted 25 July 2018, 4:23 am EST
How should we unselect the checkboxes in multiselect dropdown checkboxes with a click outside.Suppose we create a button outside and clicking on it should clear the selection ?
Forums Home / Wijmo / General Discussion
Posted by: samvarth123 on 25 July 2018, 4:23 am EST
Posted 25 July 2018, 4:23 am EST
How should we unselect the checkboxes in multiselect dropdown checkboxes with a click outside.Suppose we create a button outside and clicking on it should clear the selection ?
Posted 25 July 2018, 5:55 am EST
We use angular 6 and I found examples for angular.I have an example for angularjs.I want a similar one for angular 6
Posted 26 July 2018, 5:20 am EST
Hi,
If you want to set the checkedItems programmatically then you may use the checkedItems property of MultiSelect.
Please refer to the following code snippet to clear checked items:-
multiSel.checkedItems=;
You may also refer to the following Angular sample:-
https://stackblitz.com/edit/angular-i55gni?file=app%2Fapp.component.ts
~Manish
Posted 26 July 2018, 10:19 am EST
Thanks Manish for the quick response ! that worked