\Kendo\UI\WindowModal

A PHP class representing the modal setting of Window.

Methods

preventScroll

Specifies whether the document should stop scrolling when modal dialog is opened. Closing it should restore the initial document overflow. This setting will modify the overflow rule of the document, and thus cannot be used together with the containment setting.Note that it's not supported to have multiple windows with different preventScroll setting.

Returns

\Kendo\UI\WindowModal

Parameters

$value boolean

Example

<?php
$modal = new \Kendo\UI\WindowModal();
$modal->preventScroll(true);
?>
In this article
Not finding the help you need?