This is a migrated thread and some comments may be shown as answers.

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

1 Answer 407 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Abul
Top achievements
Rank 1
Abul asked on 19 Dec 2012, 04:08 PM

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 21 Dec 2012, 03:02 PM
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!
Tags
Grid
Asked by
Abul
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or