Is there any support for using SelectListItems as a datasource for ComboBoxes?
I would like to use it to do grouping, but I am unsure how to group where my datasource is a list of SelectListItems:
The following causes an error When I try to group on the Group's Name. Any other way of doing it?
<div class="demo-section k-content"> <h4>Customers</h4> @(Html.Kendo().ComboBox() .Name("customers") .DataTextField("Text") .DataValueField("Value") .MinLength(3) .HtmlAttributes(new { style = "width:100%;" }) .Height(400) .DataSource(source => source .Custom() .Group(g => g.Add("Group.Name", typeof(string))) .Transport(transport => transport .Read(read => { read.Action("Customers_Read", "ComboBox") .Data("onAdditionalData"); })) .ServerFiltering(true)) )</div><script> function onAdditionalData() { return { text: $("#customers").val() }; }</script>