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
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.
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.