@Html.DevExpress().ComboBox( settings => { settings.Name = "comboBox4"; settings.Width = 180; settings.SelectedIndex = 0; settings.Properties.DropDownWidth = 550; settings.Properties.DropDownStyle = DropDownStyle.DropDownList; settings.CallbackRouteValues = new { Controller = "Editors", Action = "MultiColumnComboBoxPartial" }; settings.Properties.CallbackPageSize = 30; settings.Properties.IncrementalFilteringMode = IncrementalFilteringMode.StartsWith; settings.Properties.TextFormatString = "{0}"; settings.Properties.ValueField = "CustomerID"; settings.Properties.ValueType = typeof(string); settings.Properties.Columns.Add("ContactName", "ContactName", 130); settings.Properties.Columns.Add("CompanyName", "CompanyName", Unit.Percentage(100)); settings.Properties.Columns.Add("Country", "Country", 60); settings.Properties.Columns.Add("Phone", "Phone", 100); } ).BindList(ViewData["Customers"]).GetHtml()
Hi,
The requested functionality has been implemented in the MultiColumnComboBox component: https://demos.telerik.com/aspnet-mvc/multicolumncombobox
Regards,
Ivan Danchev
Progress Telerik