Last Updated: 12 Dec 2019 09:51 by ADMIN
Imported User
Created on: 07 May 2016 08:49
Category: DropDownList
Type: Feature Request
Complex Value for combobox
Need to add configuration to display value which is combination of two or more properties or fields in dataSource. Just like valueTemplate in dropdownlist list but without html tags, like

    dataSource:[{Name:"English (US)", Value:"en-US"}, {{Name:" Japanese (Japan)", Value:"ja-JP"}}],
    template:"<div>#=data.Name+' - '+data.Value#</div>"
    complexValueFormat:"data.Name+' - '+data.Value"

I was working on a project where I was asked to display large number of items on dropdown list so i was using template and valueTemplate confugurations, since the items was too large to scroll we decided to use combobox but the problem is unable to display complex values after selecting an item. Currently I'm looping through all items and adding a property DisplayName to each item before setting dataSource. This feature will be very useful and replace dropdownlist if dataSource is too large and complex value is to be displayed.
Ivan Danchev
Posted on: 12 Dec 2019 09:51


Closing this feature request due to low interest over a long period of time.

Ivan Danchev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Posted on: 01 May 2017 15:50
Really have a strong need for this.  We have an issue where the values selected in a combobox are much longer than the control width and it would be nice to be able to create a custom valueTemplate (like the dropdown list) to visually queue the user of the long text.
Posted on: 23 Mar 2017 11:28
Please add this feature ( also in combobox.