Back to Devexpress

ASPxClientGanttStartCellEditingEventArgs Class

aspnet-js-aspxclientganttstartcelleditingeventargs.md

latest2.0 KB
Original Source

ASPxClientGanttStartCellEditingEventArgs Class

Contains data for the StartCellEditing event.

Declaration

ts
declare class ASPxClientGanttStartCellEditingEventArgs extends ASPxClientCancelEventArgs

Remarks

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

Web Forms:

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

MVC:

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

Concepts

Inheritance

ASPxClientEventArgs ASPxClientCancelEventArgs ASPxClientGanttStartCellEditingEventArgs

See Also

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGanttStartCellEditingEventArgs Members