Completed
Last Updated: 01 Oct 2021 14:30 by ADMIN
Robert
Created on: 15 Dec 2012 20:59
Category: Kendo UI for jQuery
Type: Feature Request
4
Template Selectors for Grids, Lists, etc...
I moved from Silverlight to HTML/KendoUI for building RIAs. One feature I am accustomed to using is the template selector. 

For instance I currently have a situation where I display an editable list of policy holders using KendoUI. However a policy holder could be a person or a business and different fields/labels should be shown depending on the source object. 

As a workaround I have conditional logic in the template itself, but it isn't pretty.

Please add template selectors for all list controls so that it is easier to style items.
1 comment
ADMIN
Viktor Tachev
Posted on: 01 Oct 2021 14:30

Hello Robert,

In order to show different templates based on the data the recommended approach for the Kendo Grid is to use conditional logic as described in the documentation: 

https://docs.telerik.com/kendo-ui/framework/templates/overview#creating-external-templates

 

Regards,
Viktor Tachev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.