Skip to main content
All docs
V19.1

GanttSettings.HtmlDataCellPrepared Property

Enables you to change the individual cells’ settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.1.dll

Declaration

public TreeListHtmlDataCellEventHandler HtmlDataCellPrepared { get; set; }

Property Value

Type Description
TreeListHtmlDataCellEventHandler

A delegate method allowing you to implement custom processing.

Remarks

The HtmlDataCellPrepared event is raised for each data cell within the Gantt when the corresponding table cell has been created. You can handle this event to change the style settings of individual cells.

settings.HtmlDataCellPrepared = (sender, e) =>
{
    var gantt = (MVCxGantt)sender;
    // custom code
    }
};
...
See Also