Back to Devexpress

PivotGridBuilder<T>.ShowTotalsPrior(PivotGridTotalsDisplayMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-pivotgridbuilder-1-dot-showtotalsprior-x28-devextreme-dot-aspnet-dot-mvc-dot-pivotgridtotalsdisplaymode-x29.md

latest1.4 KB
Original Source

PivotGridBuilder<T>.ShowTotalsPrior(PivotGridTotalsDisplayMode) Method

Specifies where to show the total rows or columns. Mirrors the client-side showTotalsPrior option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public PivotGridBuilder<T> ShowTotalsPrior(
    PivotGridTotalsDisplayMode value
)

Parameters

NameTypeDescription
valuePivotGridTotalsDisplayMode

The option value.

|

Returns

TypeDescription
PivotGridBuilder<T>

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().PivotGrid()
    .ShowTotalsPrior(PivotGridTotalsDisplayMode.Both)
)

See Also

PivotGridBuilder<T> Class

PivotGridBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace