Renders the specified template using the provided array.


var template = kendo.template("<li>#: name #</li>");
var data = [ { name: "John Doe" }, { name: "Jane Doe" }];
var html = kendo.render(template, data);


template Function

The Kendo UI template which should be rendered. Create one via the template method.

data Array

The array of objects which contains the data that the template will render.

In this article
Not finding the help you need? Improve this article