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

Kendo Scheduler Edit / Add pupop - How to set the Popup window Width.

3 Answers 455 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jineesh
Top achievements
Rank 2
Jineesh asked on 16 Aug 2013, 08:50 AM
Hi,

      How to set the width of kendo Scheduler Add/Edit Popup window ?

3 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 16 Aug 2013, 10:27 AM
Hi Jineesh,


To achieve this you should bind to the edit event of the Scheduler and use the e.container parameter to manipulate the window.
E.g.
function edit(e) {
    var wnd = $(e.container).data("kendoWindow");
    wnd.setOptions({
        width: 800,
        height: 500
    });
}

 

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ian
Top achievements
Rank 2
answered on 23 Oct 2015, 01:53 PM

Hi,

This seems to work fine for an edit event however, the add event does not expose the .container property.
what would you recommend for the add event?

Regards
0
Dimiter Madjarov
Telerik team
answered on 26 Oct 2015, 08:53 AM

Hello Jay,

The edit event of the Scheduler is fired in both cases i.e. when an event is added or when it is edited, so you could use the event handler for both scenarios. A more clean approach in the current version of Kendo UI would be to directly configure the edit window through the editable.window configuration of the Scheduler.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Jineesh
Top achievements
Rank 2
Answers by
Dimiter Madjarov
Telerik team
Ian
Top achievements
Rank 2
Share this question
or