简体   繁体   English

Kendo UI组合框中的OptGroup

[英]OptGroup in kendo ui combobox

How to implement the groupings of item in kendo ui combobox with angular implementation. 如何使用角度实现在kendo ui组合框中实现项目分组。 I tried 我试过了

k-template but it is not working k模板,但是它不起作用

<select kendo-combo-box
    k-placeholder="'Select frequency'"
    k-data-text-field="'Name'"
    k-data-value-field="'PaymentModeID'"
    k-filter="contains"
    k-auto-bind="false"
    k-template="freqTemplate"
    k-min-length="3"
    k-data-source="dsPaymentModes"
    style="width: 100%"></select>

When I searched I found that the telerik team didn't implement this functionality yet. 当我搜索时,发现telerik团队尚未实现此功能。 Anybody have any alternative solution? 有人有其他解决方案吗?

BTW I am using Kendo UI v2014.2.1008 and I prepared a fiddle to play with. 顺便说一句,我正在使用Kendo UI v2014.2.1008,并且准备了一个小提琴玩。 Please click here 请点击这里

demo kendo 示范剑道

Kendo UI v2015.2.805 Kendo UI v2015.2.805

new feature : grouping in combobox and dropdownlist. 新功能:在组合框和下拉列表中进行分组

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM