Tab
A newer version of this page is available. Switch to the current version.

ASPxVerticalGrid.CustomRowDisplayText Event

Enables custom display text to be provided for any cell.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public event ASPxVerticalGridRowDisplayTextEventHandler CustomRowDisplayText
Public Event CustomRowDisplayText As ASPxVerticalGridRowDisplayTextEventHandler

Event Data

The CustomRowDisplayText event's data class is ASPxVerticalGridRowDisplayTextEventArgs. The following properties provide information specific to this event:

Property Description
DisplayText Enables you to set a custom text for the cell currently being processed. Inherited from ASPxGridColumnDisplayTextEventArgs.
EncodeHtml Gets or sets a value that specifies whether the cell display text keeps any of its values that are HTML as HTML, or instead, strips out the HTML markers. Inherited from ASPxGridColumnDisplayTextEventArgs.
Row Gets the row that contains the cell currently being processed.
Value Gets the edit value of the cell currently being processed. Inherited from ASPxGridColumnDisplayTextEventArgs.
VisibleIndex Gets the visible index of the data item (row, card or record) where the processed cell resides. Inherited from ASPxGridColumnDisplayTextEventArgs.

The event data class exposes the following methods:

Method Description
GetFieldValue(Int32, String) Returns the value of the specified data source field in the specified data item (row, card or record). Inherited from ASPxGridColumnDisplayTextEventArgs.
GetFieldValue(String) Returns the value of the specified data source field in the current data item (row, card or record). Inherited from ASPxGridColumnDisplayTextEventArgs.

Remarks

The CustomRowDis