The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridViewSettings.CustomGroupDisplayText Property

Enables you to provide custom content for group rows.

Namespace: DevExpress.Web.Mvc

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

Declaration

public ASPxGridViewColumnDisplayTextEventHandler CustomGroupDisplayText { get; set; }
Public Property CustomGroupDisplayText As ASPxGridViewColumnDisplayTextEventHandler

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