Skip to main content

GridViewSettings.CustomGroupDisplayText Property

Enables you to provide custom content for group rows.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.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