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

Selection is removed with customer edit form

1 Answer 25 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Allocate Software Internal Systems
Top achievements
Rank 1
Allocate Software Internal Systems asked on 06 Feb 2014, 11:19 AM
Hi,

I have a scheduler that is configured to allow selection.  Rather than showing the default edit pop-up that is triggered by hitting [enter] we have wired up a custom dialog that appears as soon as the user releases the mouse after making a selection.

When the standard dialog opens, I can see it creates a temporary event on the scheduler for the selected date-range and that event is removed and the selected range reinstated if the user cancels the dialog.

I have been able to generate and remove the temporary event with my custom dialog but not found a way to reinstate the selection.  Is there an API for this that I have missed?

Thanks

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 10 Feb 2014, 12:49 PM
Hi,

Basically the selection object is preserved using private property of the scheduler which currently is not exposed in the API.  Please check the example of accessing that property below (this property can be modified in future versions):

var scheduler = $("#scheduler").data("kendoScheduler");
var selection = scheduler ._selection;

Also I would suggest to share your idea about exposing that property in the scheduler API at KendoUI UserVoice to allow other users vote for it. Most voted ideas are included in next KendoUI releases.

Regards,
Vladimir Iliev
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
Allocate Software Internal Systems
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or