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

Defines the fluent API for configuring GridGroupableSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class GridGroupableSettingsBuilder<T> where T : class

Inheritance: objectGridGroupableSettingsBuilder<T>

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

Constructors

GridGroupableSettingsBuilder method.

C#
public GridGroupableSettingsBuilder(GridGroupableSettings<T> container)
Parameters:containerGridGroupableSettings<T>

Properties

Gets or sets the Container.

C#
protected GridGroupableSettings<T> Container { get; }

Methods

When set to false grouping is considered disabled.

C#
public GridGroupableSettingsBuilder<T> Enabled(bool value)
Parameters:valuebool

The value for Enabled

Returns:

GridGroupableSettingsBuilder<T>

Returns the current GridGroupableSettingsBuilder<T> instance.

Configures messages.

C#
public GridGroupableSettingsBuilder<T> Messages(Action<GridGroupableMessagesBuilder> configurator)
Parameters:configuratorAction<GridGroupableMessagesBuilder>Returns:

GridGroupableSettingsBuilder<T>

The current GridGroupableSettingsBuilder<T> instance for method chaining.

When enabled the group footer rows will remain visible when the corresponding group is collapsed.

C#
public GridGroupableSettingsBuilder<T> ShowFooter()
Returns:

GridGroupableSettingsBuilder<T>

Returns the current GridGroupableSettingsBuilder<T> instance.

When enabled the group footer rows will remain visible when the corresponding group is collapsed.

C#
public GridGroupableSettingsBuilder<T> ShowFooter(bool value)
Parameters:valuebool

The value for ShowFooter

Returns:

GridGroupableSettingsBuilder<T>

Returns the current GridGroupableSettingsBuilder<T> instance.

Sets the sort configuration when grouping.

C#
public GridGroupableSettingsBuilder<T> Sort(Action<GridGroupableSortSettingsBuilder<T>> configurator)
Parameters:configuratorAction<GridGroupableSortSettingsBuilder<T>>

The GridGroupableSortSettingsBuilder<T> for the sort setting.

Returns:

GridGroupableSettingsBuilder<T>

Returns the current instance of GridGroupableSettingsBuilder<T> .

When enabled the group footer rows will stick to the bottom of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled. The columns must have a groupFooterTemplate defined.

C#
public GridGroupableSettingsBuilder<T> StickyFooters()
Returns:

GridGroupableSettingsBuilder<T>

Returns the current GridGroupableSettingsBuilder<T> instance.

When enabled the group footer rows will stick to the bottom of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled. The columns must have a groupFooterTemplate defined.

C#
public GridGroupableSettingsBuilder<T> StickyFooters(bool value)
Parameters:valuebool

The value for StickyFooters

Returns:

GridGroupableSettingsBuilder<T>

Returns the current GridGroupableSettingsBuilder<T> instance.

When enabled the group header rows will stick to the top of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled.

C#
public GridGroupableSettingsBuilder<T> StickyHeaders()
Returns:

GridGroupableSettingsBuilder<T>

Returns the current GridGroupableSettingsBuilder<T> instance.

When enabled the group header rows will stick to the top of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled.

C#
public GridGroupableSettingsBuilder<T> StickyHeaders(bool value)
Parameters:valuebool

The value for StickyHeaders

Returns:

GridGroupableSettingsBuilder<T>

Returns the current GridGroupableSettingsBuilder<T> instance.