encodeTitlesBoolean(default: false)

If set to true the column title will be HTML-encoded before it is displayed. If set to false the column title will be displayed as is.

Example

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName", title: "<b>Product Name</b>" },
    { field: "category", title: "<i>Category</i>" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  encodeTitles: true // HTML in titles will be encoded and displayed as text
});
</script>
In this article
encodeTitles
Not finding the help you need?
Contact Support