I want to show a conformation msg on event resize. On Kendo scheduler I can capture "resizestart" & "resizeend" events. But i cant control the actual resize(changing date time of event by dragging) of event on conformation. It's anyway continuing. I can prevent the event by "e.preventDefault()" but cannot resume it if the user chooses to continue.
Is there another solution for this?
<kendo-scheduler
id=
"kendoScheduler"
class=
"Scheduler"
:data-source=
"eventList"
@change=
"onChange"
:all-day-event-template=
"templateAllDayEvent"
@moveend=
"onMoveEnd"
@resizeend=
"onResizeEnd"
@movestart=
"onDragStart"
@resizestart=
"onResizeStart"
>
<script lang=
"ts"
>
onResizeStart(e : any)
{
Modal.confirm({
Msg:
"Do you want to continue"
,
onOk: () => {
this
.onResizeStart;
},
onCancel: () => {
e.preventDefault();
}
});
}
Thank you in advance