how to do the Editor popup display in the center of the screen from Kendo UI Grid

2 posts, 0 answers
  1. Abul
    Abul avatar
    1 posts
    Member since:
    Nov 2012
  2. Daniel
    Admin
    Daniel avatar
    2226 posts

    Posted 21 Dec 2012 Link to this post

    Hello,

    To center the Window you should use its center method in the document ready event after the Grid. For example:

    $(function () {
            var editWindow = $("#GridPopUp").data("kendoWindow");
            if (editWindow) {
                editWindow.center();
            }
        });
    where the Window ID is by default generated in the format Grid name + "PopUp". 

    Regards,
    Daniel
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top