A PHP class representing the modal setting of Window.
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.
<?php $modal = new \Kendo\UI\WindowModal(); $modal->preventScroll(true); ?>