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

Item grouping

1 Answer 95 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
lee
Top achievements
Rank 1
lee asked on 08 Aug 2016, 11:44 AM

I have implemented the autocomplete item grouping functionality, but need a slightly different implementation.

The first group header item is injected as a disabled item, but the following items are injected as right aligned divs within the list.  This is causing issues because I do not have a lot of width to play with and the items are being overlapped by the injected div's

Is there any way that I can get the control to always inject group headers as disabled items?  I can add a "IsHeader" attribute and doctor the items inline if needed.

I have attached a screenshot displaying the current render

Is this achievable?  Please say it is because I just want one control suite on the site.

 

 

 

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 10 Aug 2016, 12:39 PM
Hello Lee,

I am afraid that such group template layout is not a supported functionality od the Kendo UI AutoComplete out of the box. One possible approach could be to apply CSS rules to .k-popup .k-list .k-item > .k-group.
This approach will help you draw near the desired requirement without tampering with the functionality of the Kendo UI AutoComplete.

I am sorry I could not be of more help on this occasion. 

Regards,
Alex
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Tags
AutoComplete
Asked by
lee
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or