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

GridViewSettings.CustomGroupDisplayText Property

Enables you to provide custom content for group rows.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public ASPxGridViewColumnDisplayTextEventHandler CustomGroupDisplayText { get; set; }

Property Value

Type Description
ASPxGridViewColumnDisplayTextEventHandler

A ASPxGridViewColumnDisplayTextEventHandler delegate method allowing you to implement custom processing.

Remarks

...
settings.CustomGroupDisplayText = (s, e) => {
    if (e.Column.FieldName == "OrderDate")
        e.DisplayText = Convert.ToDateTime(e.Value).ToString("dd MMM yyyy hh:mm:ss");
};
...
See Also