Virtualize a Kendo Dropdownlist with local datasource array of strings

0 Answers 10 Views
Data Source DropDownList
Lee
Top achievements
Rank 2
Bronze
Bronze
Bronze
Lee asked on 17 Nov 2025, 10:47 PM | edited on 17 Nov 2025, 11:05 PM

I have a local array of between 2  and 2000+ strings that I would like to virtualize. For some reason, when I add the valueMapper to the virtual function when there are only 4 items in the array, it causes the user to not be able to click on anything.

 

Here is a dojo showing what I tried. You can click on a letter and nothing will happen.

https://dojo.telerik.com/oojEQyxf

Neli
Telerik team
commented on 20 Nov 2025, 02:05 PM

Hi Lee,

In order for the virtualization to work as expected, you will need to have dataSource.schema configured. I would suggest you review the following Knowledge Base article where Client Side virtualization in the DropDownList is demonstrated:

https://www.telerik.com/kendo-jquery-ui/documentation/knowledge-base/dropdownlist-client-side-virtualization

I hope this helps.

Regards,

Neli

Lee
Top achievements
Rank 2
Bronze
Bronze
Bronze
commented on 20 Nov 2025, 02:18 PM | edited

It does not. That article is about virtualizing a local data source. Im going a step more specific and saying I want to virtualize a local data source that is an array of strings, not an array of objects. An array of strings works fine for a dropdown list that is not virtualized but as soon as the value mapper is introduced, it breaks. I provided a Dojo demonstrating.

No answers yet. Maybe you can help?

Tags
Data Source DropDownList
Asked by
Lee
Top achievements
Rank 2
Bronze
Bronze
Bronze
Share this question
or