Declined
Last Updated: 12 Dec 2019 09:51 by ADMIN
Imported User
Created on: 07 May 2016 08:49
Category: DropDownList
Type: Feature Request
3
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

$('#comboboxinput').kendoComboBox({
    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.
3 comments
ADMIN
Ivan Danchev
Posted on: 12 Dec 2019 09:51

Hi,

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

Regards,
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.
Reese
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.
Daniel
Posted on: 23 Mar 2017 11:28
Please add this feature (http://docs.telerik.com/kendo-ui/api/javascript/ui/dropdownlist#configuration-valueTemplate) also in combobox.