Skip to main content
A newer version of this page is available. .
Tab

ASPxGridViewExportRenderingEventArgs.RowType Property

Gets the processed row’s type.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public GridViewRowType RowType { get; }

Property Value

Type Description
GridViewRowType

A GridViewRowType enumeration value that identifies the processed row’s type.

Available values:

Show 15 items
Name Description
Data

Corresponds to a data row.

Group

Corresponds to a group row.

Preview

Corresponds to a preview row.

Detail

Corresponds to a detail row.

InlineEdit

Corresponds to the in-line edit row.

EditForm

Corresponds to a row that contains the Edit Form.

EditingErrorRow

Corresponds to the Error Row.

Footer

Corresponds to the ASPxGridView’s Footer.

GroupFooter

Corresponds to a group footer.

Filter

Corresponds to the Filter Row.

EmptyDataRow

Corresponds to the Empty Data Row.

PagerEmptyRow

Corresponds to an empty data row. Empty data rows are automatically displayed if the ASPxGridViewPagerSettings.ShowEmptyDataRows option is enabled, and the number of data rows displayed on the last page does not fill the page.

Title

Corresponds to the ASPxGridView’s Title Panel.

Header

Corresponds to the ASPxGridView’s column header row.

BatchEditNewDataRow

Corresponds to a pattern for new data rows in batch edit mode. The pattern is created on request processing, and then passed to the client to be dynamically duplicated and displayed as new rows during client batch editing.

Remarks

protected void ASPxGridViewExporter1_RenderBrick(object sender, ASPxGridViewExportRenderingEventArgs e) {
    GridViewDataCheckColumn checkColumn = e.Column as GridViewDataCheckColumn;
    if(e.RowType == GridViewRowType.Data && checkColumn != null && checkColumn.FieldName == "Boolean") {
        object value = e.Value;
        if(value == null || value == DBNull.Value)
            e.Text = "NULL";
        else if(value is bool) {
            e.Text = (bool)value ? "1" : "0";
        }
    }
}

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also