Skip to main content

DataGridSummaryGroupItemBuilder<T>.ShowInGroupFooter(Boolean) Method

Specifies whether or not a summary item must be displayed in the group footer. Mirrors the client-side showInGroupFooter option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DataGridSummaryGroupItemBuilder<T> ShowInGroupFooter(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
DataGridSummaryGroupItemBuilder<T>

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().DataGrid()
    .Summary(summary => summary
        .GroupItems(groupItems => {
            groupItems.Add().ShowInGroupFooter(true);
        })
    )
)
See Also