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

No results if too many items

3 Answers 39 Views
MultiColumnComboBox
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Veteran
Robert asked on 11 Oct 2019, 12:58 PM

I have a MultiColumnComboBox that works as expected unless the search returns more than a certain number of items.  I'm not sure what the limit is, if I get 1500 results, it displays fine, but 5000 results and it is as if nothing matched and I get no items in the combo.

Is this a configurable setting, and is there a way to throw up a message saying something like "too many results, refine your search"?

3 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 15 Oct 2019, 07:52 AM

Hello Robert,

As far as I can understand, upon filtering in the widget, the remote may return up to 5000 items, which are about to be rendered in the MultiColumnComboBox drop-down. Most probably the issue, in that case, is the inability of the browser to process and render the large amount of HTML that has to be generated.

In such a case, I would recommend you to use the virtualization functionality available for the widget. Than functionality re-uses HTML elements for displaying different portions of the list of items. That would allow you to generate and render only a portion of the entire list of HTML elements in the drop-down. Here you could find a Demo sample demonstrating how virtualization could be implemented for the MultiColumnComboBox. Here is some more info on the functionality and its configuration.

Regards,
Veselin Tsvetanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Robert
Top achievements
Rank 1
Veteran
answered on 15 Oct 2019, 11:51 AM
Thanks for that information.  So I'm assuming the control doesn't have anything built in to display a message like "too many results"?  I don't mind directing the user to put in more characters to limit the results to something more reasonable.
0
Accepted
Veselin Tsvetanov
Telerik team
answered on 17 Oct 2019, 09:58 AM

Hi Robert,

I am afraid that the Kendo drop-down widgets (including the MultiColumnComboBox) do not have a configuration option that would allow you to display user message when too many items are to be loaded in the pop-up. Having that said, I would recommend you to enable the virtualization functionality in the widget.

Regards,
Veselin Tsvetanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
MultiColumnComboBox
Asked by
Robert
Top achievements
Rank 1
Veteran
Answers by
Veselin Tsvetanov
Telerik team
Robert
Top achievements
Rank 1
Veteran
Share this question
or