Posted 25 July 2018, 1:23 pm 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, 1:23 pm EST
Posted 25 July 2018, 1:23 pm 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, 2:55 pm 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, 2:20 pm 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, 7:19 pm EST
Thanks Manish for the quick response ! that worked ![]()