[英]Kendo UI Multiselect + ServerFiltering + ServerPaging with initial values
I am having some problems with the Kendo UI Multiselect with enabled ServerFiltering and Serverpaging.我在使用启用了 ServerFiltering 和 Serverpaging 的 Kendo UI Multiselect 时遇到了一些问题。 I'm using a pagesize of 50 elements.我正在使用 50 个元素的页面大小。 If I set an initial value on pageload which is within these first 50 elements everything works fine.如果我在前 50 个元素内的 pageload 上设置一个初始值,一切正常。 If I'm using a value thats not in the first 50 elements ( by using multiSelect.data("kendoMultiSelect").value([1, 2, 99]])
) it just ignores this value which is not in the preloaded list.如果我使用的值不在前 50 个元素中(通过使用multiSelect.data("kendoMultiSelect").value([1, 2, 99]])
)它只是忽略这个不在预加载列表中的值.
Is there any workaround or flag i can use to get this working?我可以使用任何解决方法或标志来使其正常工作吗?
Thanks in advance!提前致谢!
Found a solution: http://docs.telerik.com/kendo-ui/controls/editors/combobox/virtualization找到了解决方案: http : //docs.telerik.com/kendo-ui/controls/editors/combobox/virtualization
With a virtual mapper there is a possibility to tell Kendo UI to preload the pages on which the initialized values can be found.使用虚拟映射器可以告诉 Kendo UI 预加载可以找到初始化值的页面。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.