OnClientTaskUpdateCancel
The OnClientTaskUpdateCancel occurs when the user cancels tasks's cell editing. Event can be canceled. The equivalent of Kendo UI Gantt change event.
The event handler receives two parameters:
The instance of the Gantt control firing the event.
An eventArgs parameter containing the following methods:
get_task returns the GanttTask which has been edited.
set_cancel lets you cancel the event and prevent the task update cancel.
get_cancel returns true if the event has been canceled.
get_container returns the jQuery object representing the wrapping cell element. That element contains the editing UI.
get_sender returns the underlying Kendo UI Gantt widget that fired the event.
<telerik:RadGantt RenderMode="Lightweight" runat="server" id="RadGantt1" OnClientTaskUpdateCancel="OnClientTaskUpdateCancel">
</telerik:RadGantt>
function OnClientTaskUpdateCancel(sender, eventArgs) {
args.set_cancel(true);
}