ASPxPivotGrid.HtmlCellPrepared Event

Enables the settings of individual data cells to be changed.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v19.2.dll


public event PivotHtmlCellPreparedEventHandler HtmlCellPrepared
Public Event HtmlCellPrepared As PivotHtmlCellPreparedEventHandler

Event Data

The HtmlCellPrepared event handler receives an argument of the PivotHtmlCellPreparedEventArgs type. The following properties provide information specific to this event.

Property Description
Cell Gets the processed data cell.
CellItem For internal use.
(Inherited from PivotCellBaseEventArgs)
ColumnCustomTotal Gets the column custom total which displays the current cell.
ColumnField Gets the innermost column field which corresponds to the processed cell.
ColumnFieldIndex For internal use.
ColumnIndex Gets the visual index of the column that contains the processed cell.
ColumnValueType Gets the type of column which contains the processed cell.
Data For internal use.
DataField Gets the data field which identifies the column where the processed cell resides.
Item For internal use.
RowCustomTotal Gets the row custom total which contains the current cell.
RowField Gets the innermost row field which corresponds to the processed cell.
RowFieldIndex For internal use.
RowIndex Gets the index of the row that contains the processed cell.
RowValueType Gets the type of row which contains the processed cell.
SummaryType Gets the summary type of the currently processed value.
SummaryValue Gets the summary value currently being processed.
Value Gets the processed cell's value.


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

The processed cell is identified by the event parameter's PivotHtmlCellPreparedEventArgs.Cell property.

See Also