GridViewSettings.SetGroupFooterRowTemplateContent(Action<GridViewGroupFooterRowTemplateContainer>) Method

Allows you to provide a template to render a group footer row.

Namespace: DevExpress.Web.Mvc

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

Declaration

public void SetGroupFooterRowTemplateContent(
    Action<GridViewGroupFooterRowTemplateContainer> contentMethod
)
Public Sub SetGroupFooterRowTemplateContent(
    contentMethod As Action(Of GridViewGroupFooterRowTemplateContainer)
)

Parameters

Name Type Description
contentMethod Action<GridViewGroupFooterRowTemplateContainer>

A string value specifying the template content.

Remarks

@Html.DevExpress().GridView(settings => {
    settings => {
        settings.Name = "gridView";
        ...
        settings.SetGroupFooterRowTemplateContent(context =>
        {
            ViewContext.Writer.Write("<span style=\"color:red\">TEST</span>");
        });
        ...
}).Bind(Model).GetHtml()

Online Demo

GridView - Templates

See Also