Search code examples
javascriptjquerykendo-uikendo-window

Can you add a modal background to a Kendo window?


Using kendo ui, and using the window UI WIDGET, http://demos.kendoui.com/web/window/index.html

Is it possible to add a modal background in light grey color like you can in Jquery ui dialog http://jqueryui.com/dialog/#modal ?

Is it possible to make the background non-clickable ?


Solution

  • Simply use the modal configuration option:

    $("#dialog").kendoWindow({
        modal: true
    });
    

    You can adjust the color by overriding the CSS if necessary.