Back to Devexpress

PivotGridBuilder<T> Class

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-pivotgridbuilder-1.md

latest13.3 KB
Original Source

PivotGridBuilder<T> Class

A PivotGrid control.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public class PivotGridBuilder<T> :
    WidgetBuilder

Type Parameters

NameDescription
T

The data type.

|

The following members return PivotGridBuilder<T> objects:

Show 75 links

Remarks

Call the PivotGrid helper method to create a new PivotGrid control. The method creates a PivotGridBuilder<T> class instance whose members allow you to specify control options.

csharp
@(Html.DevExtreme().PivotGrid() // create a PivotGrid
    // call methods to specify control options
)

To create a strongly-typed PivotGrid, specify a data model in the PivotGrid<T> method as a type parameter.

csharp
@(Html.DevExtreme().PivotGrid<SampleModel>() // create a strongly-typed PivotGrid
    // call methods to specify control options
)

Inheritance

Object OptionsOwnerBuilder WidgetBuilder PivotGridBuilder<T>

See Also

PivotGridBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace