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.v24.2.dll
Declaration
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
See Also