items.templateString|Function
The template
which is rendered for the property's value.
Example
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
items: [
{
field: "name",
template: (data) => `<strong>${data.value}</strong>`
},
{
field: "status",
template: (data) => `<span class="${data.value}">${data.value}</span>`
}
],
model: {
name: "Laptop",
status: "active"
}
});
</script>
In this article