Skip to main content

GridViewSettings.HtmlDataCellPrepared Property

Enables the settings of individual data cells to be changed.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public ASPxGridViewTableDataCellEventHandler HtmlDataCellPrepared { get; set; }

Property Value

Type Description
ASPxGridViewTableDataCellEventHandler

A ASPxGridViewTableDataCellEventHandler delegate method allowing you to implement custom processing.

Remarks

The grid raises the HtmlDataCellPrepared event for each data cell in the ASPxGridView when the corresponding table cell has been created. You can handle this event to change the style settings of individual cells.

Note

The grid raises this event for visible rows only. For example, the event is raised for rows displayed in a currently selected page when you page data.

See Also