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

Configures the initial expanded state of a row-axis member.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PivotDataSourceRowBuilder

Inheritance: objectPivotDataSourceRowBuilder

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 PivotDataSourceRowBuilder class.

C#
public PivotDataSourceRowBuilder(PivotDataSourceRow row)
Parameters:rowPivotDataSourceRow

The row

Methods

Sets whether the row-axis member is expanded when the PivotGrid is populated. Set to true to show its child members; otherwise, it starts collapsed.

C#
public PivotDataSourceRowBuilder Expand(bool isExpanded)
Parameters:isExpandedbool

Expanded state

Returns:

PivotDataSourceRowBuilder

The PivotDataSourceRowBuilder object to support method chaining.