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

When using grouping, is searching by group possible?

3 Answers 131 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 16 Jun 2017, 02:12 PM

Using this kendo example: https://demos.telerik.com/kendo-ui/combobox/grouping

I want the combo box to search by the customer names or country. In my use case, the user might remember what country the customer is from and needs to filter by that.

Is this possible?

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 20 Jun 2017, 06:39 AM
Hello Brian,

By design the ComboBox' filtering functionality uses the field set as dataTextField to filter the items. If you want to use another filed, for instance "Country" in the demo you linked, this would require the ComboBox dataSource to be filtered. Here's a sample dojo, which shows how this can be done in the filtering event handler.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Brian
Top achievements
Rank 1
answered on 22 Jun 2017, 08:44 AM
Thanks for the reply. I don't think that dojo link is working properly. I keep getting a "failed to load snippet" error.
0
Ivan Danchev
Telerik team
answered on 23 Jun 2017, 01:22 PM
Hello Brian,

Please excuse us for the inconvenience. We were having issues with our dojo site and as a result many examples could not be loaded correctly. The example I posted in my previous reply should load as expected now, but in case the loading exception reappears I'll attach it as an html page (zipped) to this reply.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ComboBox
Asked by
Brian
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Brian
Top achievements
Rank 1
Share this question
or