AUTOCOMPLETE - MULTIPLE GROUPS OF ELEMENTS - EACH WITH DIFFERENT STYLING - BUT SEARCH RULES SAME

4 posts, 0 answers
  1. Uma
    Uma avatar
    2 posts
    Member since:
    Oct 2013

    Posted 01 Oct 2013 Link to this post

    HI,

    I NEED TO HAVE MULTIPLE OF GROUPS OF ELEMENTS EACH WITH DIFFERENT STYLING RULES - BUT SAME SEARCH RULE.
    ALSO, EACH GROUP OF ITEMS WILL HAVE ITS OWN HEADING AND STYLING.

    FOR EXAMPLE
    SEARCH FOR JOHN SHOULD FILTER JOHN IN NBA AND NHL TEAM:

    NBA TEAM 

        JOHN DOE
       WILL SMITH

    NHL TEAM

       DRAKE  DEAN
       JOHN  SMITH
       
    IS IT POSSIBLE?

    THANKS IN ADVANCE

      
       
     
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 02 Oct 2013 Link to this post

    Hello,

     Currently the Kendo UI Autocomplete widget doesn't support the requested capability. Grouping of items cannot be implemented.

    Regards,
    Atanas Korchev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Miguel
    Miguel avatar
    15 posts
    Member since:
    Jul 2014

    Posted 15 Nov 2014 in reply to Atanas Korchev Link to this post

    Are there any plans to support this? 
    We need something similar. I had an initial go at it and I can get all of the items styled correctly, but changing the key navigation requires me to mess with a lot of the internals. Certainly possible, just a few overrides on kendo.List that I would rather not have on my code. 
  5. Miguel
    Miguel avatar
    15 posts
    Member since:
    Jul 2014

    Posted 17 Nov 2014 in reply to Miguel Link to this post

    I found a solution based on another thread. Here's a DOJO. Still feels super hacky and breaks other parts of the component, like getting the dataItem that still depends on the index of the LIs

    http://dojo.telerik.com/@telerik@miguelmadero.com/aSUcu
    reference thread: http://www.telerik.com/forums/applying-a-different-template-to-each-list-item-based-on-type

Back to Top
Kendo UI is VS 2017 Ready