We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Is it possible to center the customwindow


We would like to center our custom appointment window without putting specific X, Ycoordinate, so when the user resizes the screen the dialog will be shown in the middle of the screen.

                width: 600,
                height: "auto",
                position: { X: 100, Y: 100 },
                showOnInit: false,
                enableModal: true,
                title: "Create Availability",
                enableResize: false,
                allowKeyboardNavigation: false,
                close: "clearFields"

Thanks in advanced.


1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team January 2, 2017 12:28 PM UTC

Hi David, 

Thank you for contacting Syncfusion support. 

Yes, it is possible to display the custom window in the center of the screen without specifying X and Y coordinate, it is not mandatory fields. 


Live Chat Icon For mobile
Up arrow icon