I have a kendo ui multiselect with like 60 values shown in the dropdown. Is there a way to only show like 10 items in the dropdown rather than all 60?
@(Html.Kendo().MultiSelect().Name("multiselect")
.AutoClose(false)
.Filter("contains")
.BindTo(list)
FYI – I’m not looking for the MaxSelectedItems() which limits the number of items that can be selected, rather looking to limit the number of items that the dropdown of multiselect displays at a time.
Is there anyway to achieve this?
Thanks in advance
2
Answers
This can be achieved with JavaScript/jQuery with the following code:
Try it out and let me know how it goes.
Using Kendo UI’s built-in virtualization to dynamically load items as needed:
Check this and let me know if it works for you?