I am trying to show an icon on kendo window title. But I am not able to do it. The code I am trying is showing the whole html. I think whatever I pass it in title, it takes as string. Can someone help me please.
<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
title: '<i class="glyphicon glyphicon-user"></i>Customer details'
});
</script>
You can try editing the HTML using jQuery.
Something like this (untested):
var title = "<i class="glyphicon glyphicon-user"></i>Customer details"
var window = $("#dialog").data("kendoWindow");
window.wrapper.find('.k-window-title').html(title)