Declined
Last Updated: 23 Mar 2017 09:14 by ADMIN
Maxim
Created on: 19 Apr 2012 03:54
Category: Kendo UI for jQuery
Type: Feature Request
2
display template in dropdown box
Ability to use template apposed to field(s) in dataTextField and dataValueField. This feature will make control more flexible and customizable on client side. 
4 comments
Zachary
Posted on: 01 Jan 2014 23:12
Potential duplicate of:
http://feedback.kendoui.com/forums/127393-kendo-ui-feedback/suggestions/3647211-support-templates-in-the-dropdownlist-selected-val
Zachary
Posted on: 01 Jan 2014 23:07
This ought to be reopened. Max's elaboration exactly matches my situation.

Also, there is a forum thread:
http://www.kendoui.com/forums/kendo-ui-web/dropdownlist/dropdownlist-display-template.aspx
Maxim
Posted on: 19 Apr 2012 14:37
I will elaborate. Lets say you have a service that returns JSON array of such as [{ state: "NJ", district: "1", city: "Teaneck"}]

Lets suppose that client want to see text displayed as "NJ 1 - Teaneck". This can't be done right out of the box using your current frame work. The logical solution to this would be to use template for dataTextField to format text displayed.

PS: I am aware that templates can be used to build the drop down list but what about custom format of the text or value stored in dropdown/comboboxes.

ADMIN
Telerik Admin
Posted on: 19 Apr 2012 14:22
Not sure whether I understand your idea completely, however the Kendo UI dropdown list (as well as the combobox and autocomplete) support templates. See this demo for more info:
http://demos.kendoui.com/web/dropdownlist/template.html