This is a migrated thread and some comments may be shown as answers.

Select all and deselect all option

2 Answers 1110 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 02 May 2020, 04:15 PM

Is there an option to select all or deselect all in the multi-select?

We have large lists and this functionality is required.

 

 

2 Answers, 1 is accepted

Sort by
0
n/a
Top achievements
Rank 1
answered on 02 May 2020, 04:18 PM

There is one post on stack overflow - but it has some limitations.

https://stackoverflow.com/questions/45436890/kendo-ui-angular-2-multiselect-select-all-option

 

 

0
Svet
Telerik team
answered on 05 May 2020, 11:02 AM

Hi John,

Indeed the required select all functionality isn't currently available as a built-in feature. If you have the time please vote for that feature request in the following link:

https://feedback.telerik.com/kendo-angular-ui/1457196-select-all-in-multi-select

Thank you in advance. That will help us to estimate the customer demand for such an enhancement and we will eventually add it to our future development plans.

I would also like to add that the requirement can be achieved by passing all items to the value of the MutltiSelect on any event. For example a select / deselect all button can be placed in the header template of the MutliSelect and it can update the value of the component so that all items are either selected or deselected. Please check the following example demonstrating such approach:

https://stackblitz.com/edit/angular-buaw1e?file=app/app.component.ts

I hope this helps. Please let me know in case any further assistance is required for this case. Thank you.

Regards,
Svetlin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
MultiSelect
Asked by
n/a
Top achievements
Rank 1
Answers by
n/a
Top achievements
Rank 1
Svet
Telerik team
Share this question
or