Skip to main content
All docs
V23.2

ASPxClientGanttStartCellEditingEventArgs.focusedFieldName Property

Specifies the field name of the focused task.

Declaration

focusedFieldName: string

Property Value

Type Description
string

The field name.

Remarks

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents StartCellEditing="function(s, e) {
        if (e.key == 1) {
            //...
            e.values["Subject"] = "test name";
        }
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.StartCellEditing = "function (s, e) { 
        if (e.key == 1) {
            //...
            e.values["Subject"] = "test name";
        } 
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
See Also