New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Creates columns for the PivotDataSource class.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PivotDataSourceColumnFactory

Inheritance: objectPivotDataSourceColumnFactory

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the PivotDataSourceColumnFactory class.

C#
public PivotDataSourceColumnFactory(IList<PivotDataSourceColumn> container)
Parameters:containerIList<PivotDataSourceColumn>

The container

Methods

Defines a PivotGrid column and set it's name.

C#
public PivotDataSourceColumnBuilder Add(string name)
Parameters:namestring

The name

Returns:

PivotDataSourceColumnBuilder