When using grouping, is searching by group possible?

4 posts, 0 answers
  1. Brian
    Brian avatar
    4 posts
    Member since:
    Jan 2017

    Posted 16 Jun Link to this post

    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?

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1263 posts

    Posted 20 Jun Link to this post

    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.
  3. Brian
    Brian avatar
    4 posts
    Member since:
    Jan 2017

    Posted 22 Jun in reply to Ivan Danchev Link to this post

    Thanks for the reply. I don't think that dojo link is working properly. I keep getting a "failed to load snippet" error.
  4. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1263 posts

    Posted 23 Jun Link to this post

    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.
Back to Top