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

MultiSelectBox with Filter

3 Answers 311 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 06 Dec 2015, 09:30 AM

My project requires a MultiSelectBox.

I have found an addon build on KendoUI DropDownList widget here:
http://www.telerik.com/forums/multi-select-with-checkboxes-plugin

I have changed the code to work with KendoUI version 2015.1.429.
(I believe it works with later versions, too.)

Please see my code:
http://dojo.telerik.com/@DUKEiLL/OziqE

How can I add a filter option to this addon so it works properly?

Thank you,
Daniel.

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 07 Dec 2015, 12:07 PM
Hello Daniel,

You could extend the initialization of the kendoMultiSelectBox with applying the filter settings. I have modified the dojo example below:

http://dojo.telerik.com/ErUfi/2

Regards,
Nencho
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Daniel
Top achievements
Rank 1
answered on 07 Dec 2015, 01:34 PM

Hello Nencho,

 

Thank you for your answer.

I have tried to apply filter settings.

However, it does not work properly!

For example, using the filter causes the "Select All" option to disappear.

 

Best regards,

Daniel.

0
Nencho
Telerik team
answered on 09 Dec 2015, 01:12 PM
Hello Daniel,

It seems that the _addSelectAllItem function is causing the experienced problematic behavior. However, I am afraid that we do not support such custom extension of our widgets.

This is why, my suggestion would be to use the MultiSelected widget:

https://github.com/telerik/kendo-ui-core/blob/a4516594093af45b3f10fda3e08e26b5e20c2c83/docs/web/multiselect/how-to/checkbox-item-template.md

If you can still decide to go with the custom approach - I am afraid that we cannot provide you with an accurate assistance.

Regards,
Nencho
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Daniel
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or