\Kendo\UI\DialogModal

A PHP class representing the modal setting of Dialog.

Methods

preventScroll

Specifies whether the document should stop scrolling when modal dialog is opened. Closing it should restore the initial document overflow. Note that it's not supported to have multiple dialogs with different preventScroll setting.

Returns

\Kendo\UI\DialogModal

Parameters

$value boolean

Example

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