Edit this page

title String |Boolean |Object default: ""

Gets or sets the title of a Window. Supports chaining when used as a setter.

Parameters

text String (optional)

The title of the Window.

Returns

String The current window title, if used as a getter. If used as a setter, the method will return the window object to support chaining.

Example - get the title of the window

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
var title = dialog.title();
</script>

Example - set the title of a window

<div id="dialog"></div>
<script>
$("#dialog").kendoWindow();
var dialog = $("#dialog").data("kendoWindow");
dialog.title("Hello");
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy