Back to Devexpress

ASPxClientGanttEndCellEditingEventArgs Class

aspnet-js-aspxclientganttendcelleditingeventargs.md

latest2.0 KB
Original Source

ASPxClientGanttEndCellEditingEventArgs Class

Contains data for the EndCellEditing event.

Declaration

ts
declare class ASPxClientGanttEndCellEditingEventArgs extends ASPxClientCancelEventArgs

Remarks

Run Demo: ASPxGantt - Client-Side EventsRun Demo: MVCxGantt - Client-Side Events

Web Forms:

aspx
<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents EndCellEditing="function(s, e) {
        if (e.key == 5) {
            //...
            e.cancel = true;
        }
    }" />
</dx:ASPxGantt>

MVC:

cshtml
@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.EndCellEditing = "function (s, e) { 
        if (e.key == 5) {
            //...
            e.cancel = true;
        }        
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

Inheritance

ASPxClientEventArgs ASPxClientCancelEventArgs ASPxClientGanttEndCellEditingEventArgs

See Also

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGanttEndCellEditingEventArgs Members