All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Tab

ASPxGridColumnDisplayTextEventArgs.Kind Property

Gets the type of operations with grid data.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public GridColumnDisplayTextEventKind Kind { get; }

Property Value

Type Description
GridColumnDisplayTextEventKind

An enumeration value.

Available values:

Name Description
Display

The control is being rendered.

DataOperation

Operations with data before the render.

Export

The control prepares data for export.

Remarks

Use the Kind property to analyze the type of the current operation with grid data.

The example below illustrates how to handle grid data if the CustomColumnDisplayText event is raised when a user filters data:

protected void ASPxGridView1_CustomColumnDisplayText(object sender, ASPxGridViewColumnDisplayTextEventArgs e) {
    ASPxGridView gridView = sender as ASPxGridView;
    if(e.Kind != GridColumnDisplayTextEventKind.DataOperation) {
        //var requiredValue = gridView.GetRowValues(e.VisibleIndex, "<COLUMN_FIELD_NAME>");
        // your code
    }
}
See Also